Skip to content

Commit 14487ce

Browse files
authored
Merge pull request #1343 from crazy-max/fix-no-default-attest
handle no default attestations env var
2 parents 0ec9126 + 1c198f4 commit 14487ce

File tree

5 files changed

+132
-39
lines changed

5 files changed

+132
-39
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)