From eb5061668f6bcd302a69d2e231c2c3cda53dc318 Mon Sep 17 00:00:00 2001 From: jiaxiao zhou Date: Mon, 11 Mar 2024 21:24:13 +0000 Subject: [PATCH] ci(*): disable docker provenence Signed-off-by: jiaxiao zhou --- .github/workflows/docker-build-push.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build-push.yaml b/.github/workflows/docker-build-push.yaml index a0382fe5..976b8a99 100644 --- a/.github/workflows/docker-build-push.yaml +++ b/.github/workflows/docker-build-push.yaml @@ -49,7 +49,7 @@ jobs: sudo systemctl restart docker - name: test - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 if: ${{ inputs.test }} with: context: ${{ matrix.image.context }} @@ -57,9 +57,7 @@ jobs: tags: containerd-shim-spin/${{ matrix.image.imageName }}:test platforms: wasi/wasm - name: build and push - # we use v3 here because we can't push wasi/wasm images with v4 - # see https://github.com/deislabs/containerd-wasm-shims/issues/154#issuecomment-1726030749 - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 if: ${{ !inputs.test }} with: push: true @@ -68,3 +66,4 @@ jobs: ghcr.io/${{ github.repository }}/${{ matrix.image.imageName }}:latest context: ${{ matrix.image.context }} platforms: wasi/wasm + provenance: false