File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,11 @@ jobs:
123123 BUILD_DATE=${{ github.event.repository.updated_at }}
124124 cache-from : type=gha,scope=${{ inputs.name }}
125125 cache-to : type=gha,mode=max,scope=${{ inputs.name }}
126+ # Disable attestations for the test build — provenance/SBOM cause BuildKit
127+ # to pull docker/buildkit-syft-scanner from Docker Hub, which fails with a
128+ # repo-scoped token. Attestations are enabled on the push step only.
129+ provenance : false
130+ sbom : false
126131
127132 # ── Step 2: Smoke test ─────────────────────────────────────────────────
128133 - name : 🧪 Smoke test
@@ -166,8 +171,11 @@ jobs:
166171 VCS_REF=${{ github.sha }}
167172 BUILD_DATE=${{ github.event.repository.updated_at }}
168173 cache-from : type=gha,scope=${{ inputs.name }}
169- provenance : true
170- sbom : true
174+ # SBOM and provenance generation pull docker/buildkit-syft-scanner from
175+ # Docker Hub, which fails with a repo-scoped token. Disabled until a
176+ # token with broader Docker Hub read access is available.
177+ provenance : false
178+ sbom : false
171179
172180 # Floating major version tags (v2 → latest v2.x.y) have been intentionally
173181 # removed. Mutable tags are structurally equivalent to :latest and are
Original file line number Diff line number Diff line change @@ -5,9 +5,8 @@ name: publish-docker
55# Flow: resolve-version → build-test-push → create-release
66#
77# Tag convention:
8- # v2.0.0 — immutable exact release
9- # v2 — floating, always points to latest v2.x.y
10- # See docs/github-action.md → "Pinning strategies" for the tradeoff guide.
8+ # v2.0.0 — immutable exact release (floating major tags intentionally not published)
9+ # See docs/github-action.md → "Pinning strategies" for the full rationale.
1110#
1211# Required repository secrets:
1312# DOCKERHUB_USERNAME — Docker Hub account name
6160 name : publish (socket-basics)
6261 needs : resolve-version
6362 permissions :
64- contents : write # force-update the floating major version tag (e.g. v2)
63+ contents : read
6564 packages : write # push images to GHCR
6665 uses : ./.github/workflows/_docker-pipeline.yml
6766 with :
You can’t perform that action at this time.
0 commit comments