Update .gitea/workflows/build.yaml
Some checks failed
Build morthimer/caddy-homelab image / lint (push) Successful in 7s
Build morthimer/caddy-homelab image / build (push) Failing after 9s

This commit is contained in:
2024-05-12 16:19:04 +02:00
parent a14ff94a1a
commit 5dff21e1ff

View File

@@ -2,7 +2,6 @@ name: Build morthimer/caddy-homelab image
on: [push] on: [push]
env: env:
REGISTRY: https://git.int.morthimer.fr:8443
CADDY_VERSION: 2.7.6 CADDY_VERSION: 2.7.6
CADDY_DOCKER_PROXY_VERSION: 2.8.11 CADDY_DOCKER_PROXY_VERSION: 2.8.11
@@ -24,7 +23,7 @@ jobs:
- name: Repository login - name: Repository login
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ secretd.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
@@ -32,7 +31,8 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
push: true push: true
tags: ${{ env.REGISTRY }}/${{ gitea.repository }}:latest tags: |
${{ env.REGISTRY }}/${{ gitea.repository }}:latest
build-args: | build-args: |
WEBSERVER_VERSION=${{ env.CADDY_VERSION }} WEBSERVER_VERSION=${{ env.CADDY_VERSION }}
DOCKER_PROXY_VERSION=${{ env.CADDY_DOCKER_PROXY_VERSION }} DOCKER_PROXY_VERSION=${{ env.CADDY_DOCKER_PROXY_VERSION }}