Compare commits

...

2 Commits

Author SHA1 Message Date
0d80f1b357 fix(ci): adapt trigger of 'pushed-tagged-images' workflow
Some checks failed
Auto release / tag_on_change (push) Successful in 9s
Build / build-amd64 (push) Has been cancelled
Build / build-arm64 (push) Has been cancelled
Lint Markdown files / markdown-lint (push) Has been cancelled
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 5s
2025-10-22 23:03:33 +02:00
a2932d8025 fix(ci): add build args containing GO environment variables 2025-10-22 22:45:37 +02:00
3 changed files with 16 additions and 5 deletions

View File

@@ -59,8 +59,6 @@ jobs:
- name: Create and push new tag
if: steps.check_change.outputs.changed == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
new_tag=${{ steps.bump.outputs.new_tag }}
git config --local user.name "${GIT_USER}"
@@ -72,9 +70,10 @@ jobs:
if: steps.check_change.outputs.changed == 'true'
uses: peter-evans/repository-dispatch@v4.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
event-type: push-tagged-images
client-payload: |
{
"tag": "${{ steps.bump.outputs.new_tag }}"
}
}
event-type: push-tagged-images
repository: ${{ github.repository }}
token: ${{ github.token }}

View File

@@ -24,6 +24,9 @@ jobs:
TAG=latest
docker buildx build \
--build-arg GONOSUMDB=${GONOSUMDB} \
--build-arg GOPRIVATE=${GOPRIVATE} \
--build-arg GOPROXY=${GOPROXY} \
--platform linux/arm64 \
--file Dockerfile \
--provenance false \
@@ -42,6 +45,9 @@ jobs:
TAG=latest
docker buildx build \
--build-arg GONOSUMDB=${GONOSUMDB} \
--build-arg GOPRIVATE=${GOPRIVATE} \
--build-arg GOPROXY=${GOPROXY} \
--platform linux/amd64 \
--file Dockerfile \
--provenance false \

View File

@@ -36,6 +36,9 @@ jobs:
- name: Build and push image
run: |
docker buildx build \
--build-arg GONOSUMDB=${GONOSUMDB} \
--build-arg GOPRIVATE=${GOPRIVATE} \
--build-arg GOPROXY=${GOPROXY} \
--platform linux/arm64 \
--file Dockerfile \
--provenance false \
@@ -71,6 +74,9 @@ jobs:
- name: Build and push image
run: |
docker buildx build \
--build-arg GONOSUMDB=${GONOSUMDB} \
--build-arg GOPRIVATE=${GOPRIVATE} \
--build-arg GOPROXY=${GOPROXY} \
--platform linux/amd64 \
--file Dockerfile \
--provenance false \