diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 519927e..1cda2f1 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -2,6 +2,8 @@ name: Build morthimer/caddy-homelab image on: [push] env: REPOSITORY: git.int.morthimer.fr:8443 + CADDY_VERSION: 2.7.6 + CADDY_DOCKER_PROXY_VERSION: 2.8.11 job: lint: @@ -29,4 +31,7 @@ job: uses: docker/build-push-action@v5 with: push: true - tags: $REPOSITORY/${{ gitea.repository }}:latest \ No newline at end of file + tags: $REPOSITORY/${{ gitea.repository }}:latest + build-args: | + WEBSERVER_VERSION=$CADDY_VERSION + DOCKER_PROXY_VERSION=$CADDY_DOCKER_PROXY_VERSION \ No newline at end of file