From a76d1cb6d3cd57fd4b71e61e99f1f6ffb6193dea Mon Sep 17 00:00:00 2001 From: Moss Cantwell Date: Fri, 3 Nov 2023 13:20:29 +1300 Subject: [PATCH] fix: pin version of chainguard to last working version newer version requires update to the forked/vendored action in our org namespace prints: Status: Downloaded newer image for ghcr.io/wolfi-dev/apko:latest Error: unknown flag: --package-version-tag-stem 2023/11/03 00:05:35 error during command execution: unknown flag: --package-version-tag-stem --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8a8e5c..3b53279 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -98,6 +98,7 @@ jobs: tag: ${{ fromJSON(toJSON(matrix)).destination }} config: ${{ fromJSON(toJSON(matrix)).source }} source-date-epoch: ${{ steps.snapshot-date.outputs.epoch }} + apko-image: "ghcr.io/wolfi-dev/apko@sha256:ed7bbf853ec77fa4b5ad4840fd42c1391a0341b86541063217277b678e324686" - uses: GeoNet/chainguard-images-actions/apko-build@cfc56ba1a26d410474fe453d9c9a865fdd422fa7 # main if: ${{ github.ref != 'refs/heads/main' }} id: build-local @@ -106,6 +107,7 @@ jobs: tag: ${{ steps.apko-options.outputs.tag }} config: ${{ fromJSON(toJSON(matrix)).source }} source-date-epoch: ${{ steps.snapshot-date.outputs.epoch }} + apko-image: "ghcr.io/wolfi-dev/apko@sha256:ed7bbf853ec77fa4b5ad4840fd42c1391a0341b86541063217277b678e324686" - name: crane get-digests id: get-digests if: ${{ github.ref == 'refs/heads/main' }}