fix: use single shell
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Simon Cornet 2026-05-12 10:37:10 +02:00
commit 7d75ecb640

View file

@ -11,7 +11,9 @@ steps:
image: "cr.simoncor.net/quay/buildah/stable:latest" image: "cr.simoncor.net/quay/buildah/stable:latest"
privileged: true privileged: true
commands: commands:
- "VERSION=$(grep -oP '(?<=yamllint==)[0-9.]+' Dockerfile.linux.amd64)" - |
- "buildah bud -t yamllint -f Dockerfile.linux.amd64 ." VERSION=$(grep -oP '(?<=yamllint==)[0-9.]+' Dockerfile.linux.amd64)
- "buildah tag yamllint cr.simoncor.net/yamllint:${VERSION}" echo "Building yamllint version ${VERSION}"
- "buildah push cr.simoncor.net/yamllint:${VERSION}" buildah bud -t yamllint -f Dockerfile.linux.amd64 .
buildah tag yamllint cr.simoncor.net/yamllint:${VERSION}
buildah push cr.simoncor.net/yamllint:${VERSION}