Skip to content

Commit

Permalink
ci(*): disable docker provenence
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka committed Mar 11, 2024
1 parent 1f8c36a commit eb50616
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,15 @@ 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 }}
load: true
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
Expand All @@ -68,3 +66,4 @@ jobs:
ghcr.io/${{ github.repository }}/${{ matrix.image.imageName }}:latest
context: ${{ matrix.image.context }}
platforms: wasi/wasm
provenance: false

0 comments on commit eb50616

Please sign in to comment.