From 5dff21e1ffc74254a2afa113524c4cf614604270 Mon Sep 17 00:00:00 2001 From: morthimer Date: Sun, 12 May 2024 16:19:04 +0200 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 72ed584..3865a77 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -2,7 +2,6 @@ name: Build morthimer/caddy-homelab image on: [push] env: - REGISTRY: https://git.int.morthimer.fr:8443 CADDY_VERSION: 2.7.6 CADDY_DOCKER_PROXY_VERSION: 2.8.11 @@ -24,7 +23,7 @@ jobs: - name: Repository login uses: docker/login-action@v3 with: - registry: ${{ env.REGISTRY }} + registry: ${{ secretd.DOCKER_REGISTRY }} username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -32,7 +31,8 @@ jobs: uses: docker/build-push-action@v5 with: push: true - tags: ${{ env.REGISTRY }}/${{ gitea.repository }}:latest + tags: | + ${{ env.REGISTRY }}/${{ gitea.repository }}:latest build-args: | WEBSERVER_VERSION=${{ env.CADDY_VERSION }} DOCKER_PROXY_VERSION=${{ env.CADDY_DOCKER_PROXY_VERSION }} \ No newline at end of file