From 7d75ecb64074380736201d09aa7bb55e625c61f2 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 12 May 2026 10:37:10 +0200 Subject: [PATCH] fix: use single shell --- .woodpecker/build.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 150a206..4ecf018 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -11,7 +11,9 @@ steps: image: "cr.simoncor.net/quay/buildah/stable:latest" privileged: true commands: - - "VERSION=$(grep -oP '(?<=yamllint==)[0-9.]+' Dockerfile.linux.amd64)" - - "buildah bud -t yamllint -f Dockerfile.linux.amd64 ." - - "buildah tag yamllint cr.simoncor.net/yamllint:${VERSION}" - - "buildah push cr.simoncor.net/yamllint:${VERSION}" + - | + VERSION=$(grep -oP '(?<=yamllint==)[0-9.]+' Dockerfile.linux.amd64) + echo "Building yamllint version ${VERSION}" + buildah bud -t yamllint -f Dockerfile.linux.amd64 . + buildah tag yamllint cr.simoncor.net/yamllint:${VERSION} + buildah push cr.simoncor.net/yamllint:${VERSION}