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
5 changed files with 18 additions and 7 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 \

View File

@@ -1,6 +1,6 @@
# DC_VERSION
# Only required to install a specify version
DC_VERSION?=v2.40.2 # renovate: datasource=github-releases depName=docker/compose
DC_VERSION?=v2.40.0 # renovate: datasource=github-releases depName=docker/compose
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a container runtime. This is needed to start and

View File

@@ -11,7 +11,7 @@ The workflow or how `docker-compose` can in general be used is documented at
image.
```bash
IMAGE_VERSION=2.40.2
IMAGE_VERSION=2.34.0
docker run \
--rm \
--volume ./path/to/docker-compose.yml:/workdir/docker-compose.yml:ro \