Skip to content

Commit

Permalink
ci(image): disable docker provenence (#212)
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka authored Feb 14, 2024
1 parent 801e8a5 commit 6c507e0
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 @@ -58,17 +58,15 @@ jobs:
sudo systemctl restart docker
docker info -f '{{ .DriverStatus }}'
- 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-wasm-shims${{ 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 @@ -77,3 +75,4 @@ jobs:
ghcr.io/${{ github.repository }}/${{ matrix.image.imageName }}:latest
context: ${{ matrix.image.context }}
platforms: wasi/wasm
provenance: false

0 comments on commit 6c507e0

Please sign in to comment.