Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(image): disable docker provenence #212

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading