Update .gitea/workflows/build.yaml
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
name: Build morthimer/caddy-homelab image
|
||||
run-name: ${{ gitea.actor }} is building a new image
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
REPOSITORY: git.int.morthimer.fr:8443
|
||||
REGISTRY: git.int.morthimer.fr:8443
|
||||
CADDY_VERSION: 2.7.6
|
||||
CADDY_DOCKER_PROXY_VERSION: 2.8.11
|
||||
|
||||
@@ -25,7 +24,7 @@ jobs:
|
||||
- name: Repository login
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: $REPOSITORY
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
@@ -33,7 +32,7 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
tags: $REPOSITORY/${{ gitea.repository }}:latest
|
||||
tags: ${{ env.REGISTRY }}/${{ gitea.repository }}:latest
|
||||
build-args: |
|
||||
WEBSERVER_VERSION=$CADDY_VERSION
|
||||
DOCKER_PROXY_VERSION=$CADDY_DOCKER_PROXY_VERSION
|
||||
WEBSERVER_VERSION=${{ env.CADDY_VERSION }}
|
||||
DOCKER_PROXY_VERSION=${{ env.CADDY_DOCKER_PROXY_VERSION }}
|
||||
Reference in New Issue
Block a user