Skip to content

fix: preserve GHCR auth for attestations - #75

Merged
kricha-lab-dev-worker[bot] merged 1 commit into
mainfrom
fix/ghcr-attestation-auth
Sep 1, 2026
Merged

fix: preserve GHCR auth for attestations#75
kricha-lab-dev-worker[bot] merged 1 commit into
mainfrom
fix/ghcr-attestation-auth

Conversation

@kricha-lab-dev-worker

Copy link
Copy Markdown
Contributor

Summary

  • make the isolated GHCR config exactly $HOME/.docker so actions/attest can discover login credentials
  • apply the same correction to bootstrap and stable OCI publication
  • run explicit cleanup with always() and switch stable verification to a separate anonymous config
  • structurally reject credential lifecycle regressions with comment-safe negative fixtures

Verification

  • reproduced run 33559830573: build/push passed, attestation failed with No credentials found for registry ghcr.io
  • bootstrap negative fixtures: 9/9 PASS
  • stable release credential fixtures: 9/9 PASS
  • OCI helpers: 16/16 PASS
  • go test ./..., go vet ./..., go build ./...: PASS
  • independent exact-tree review: PASS

Refs #43

@kricha-lab-dev-worker
kricha-lab-dev-worker Bot merged commit 2c03fd4 into main Sep 1, 2026
5 checks passed
@kricha-lab-dev-worker
kricha-lab-dev-worker Bot deleted the fix/ghcr-attestation-auth branch September 1, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant