Skip to content

Commit 288d9e2

Browse files
committed
handle no default attestations env var
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 88844b9 commit 288d9e2

File tree

3 files changed

+130
-37
lines changed

3 files changed

+130
-37
lines changed

‎.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,3 +1542,26 @@ jobs:
15421542
echo "::error::Should have failed"
15431543
exit 1
15441544
fi
1545+
1546+
no-default-attestations:
1547+
runs-on: ubuntu-latest
1548+
steps:
1549+
-
1550+
name: Checkout
1551+
uses: actions/checkout@v4
1552+
with:
1553+
path: action
1554+
-
1555+
name: Set up Docker Buildx
1556+
uses: docker/setup-buildx-action@v3
1557+
with:
1558+
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
1559+
driver-opts: |
1560+
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
1561+
-
1562+
name: Build
1563+
uses: ./action
1564+
with:
1565+
file: ./test/Dockerfile
1566+
env:
1567+
BUILDX_NO_DEFAULT_ATTESTATIONS: 1

0 commit comments

Comments
 (0)