Skip to content

Commit

Permalink
Merge pull request #1343 from crazy-max/fix-no-default-attest
Browse files Browse the repository at this point in the history
handle no default attestations env var
CrazyMax authored and GitHub committed Apr 23, 2025
2 parents 0ec9126 + 1c198f4 commit 14487ce
Showing 5 changed files with 132 additions and 39 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1542,3 +1542,26 @@ jobs:
echo "::error::Should have failed"
exit 1
fi
no-default-attestations:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
path: action
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./action
with:
file: ./test/Dockerfile
env:
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
Loading

0 comments on commit 14487ce

Please sign in to comment.