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