Compare commits
1 Commits
feature/la
...
dca72234ff
Author | SHA1 | Date | |
---|---|---|---|
dca72234ff |
@@ -8,23 +8,30 @@ name: Build and docker image
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: k8s
|
||||||
|
container: ubuntu:latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: https://gitea.com/actions/checkout@v4
|
# - name: Install prerequisites
|
||||||
|
# run: |
|
||||||
|
# apt update
|
||||||
|
# apt install -y docker
|
||||||
|
|
||||||
- name: Login to Docker Registry
|
# - uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Docker login
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.kluster.moll.re
|
registry: docker.io
|
||||||
username: ${{ gitea.repository_owner }}
|
username: ${{ secrets.docker_username }}
|
||||||
password: ${{ secrets.GITEA_TOKEN}}
|
password: ${{ secrets.docker_password }}
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: https://github.com/docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build
|
||||||
uses: docker/build-push-action@v5
|
uses: https://github.com/docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: frontend
|
context: frontend
|
||||||
tags: git.kluster.moll.re/renoll/moll.re/frontend:latest
|
tags: ${{ secrets.docker_registry }}/frontend:latest
|
||||||
|
push: true
|
||||||
|
Reference in New Issue
Block a user