fix(ci): set build-arg with yaml lint version

This commit is contained in:
Markus Pesch 2025-05-07 22:40:21 +02:00
parent 9a255ee460
commit 8be284cf33
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -24,11 +24,12 @@ jobs:
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm') TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \ docker buildx build \
--platform linux/arm64 \ --build-arg YAMLLINT_VERSION=${{ github.ref_name }} \
--file Dockerfile \ --file Dockerfile \
--platform linux/arm64 \
--provenance false \ --provenance false \
--tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-arm64 \
--push \ --push \
--tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-arm64 \
. .
push-amd64: push-amd64:
@ -49,11 +50,12 @@ jobs:
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm') TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \ docker buildx build \
--platform linux/amd64 \ --build-arg YAMLLINT_VERSION=${{ github.ref_name }} \
--file Dockerfile \ --file Dockerfile \
--platform linux/amd64 \
--provenance false \ --provenance false \
--tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-amd64 \
--push \ --push \
--tag git.cryptic.systems/volker.raschek/yamllint:1.37.1-amd64 \
. .
push-manifest: push-manifest: