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}