Skip to content

Harden prebuilt image publication hygiene - #21

Merged
joecklau merged 1 commit into
developfrom
feature/prebuilt-publication-hygiene
Aug 10, 2026
Merged

Harden prebuilt image publication hygiene#21
joecklau merged 1 commit into
developfrom
feature/prebuilt-publication-hygiene

Conversation

@joecklau

@joecklau joecklau commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Publish Docker Sandboxes package candidates only from main, while pull requests run read-only publisher and asset validation.
  • Assemble the final multi-platform image from exact platform digests and require exactly two descriptors.
  • Keep signed index-level SLSA/SPDX and catalog evidence while removing redundant BuildKit per-platform attestation wrappers.
  • Document the GHCR version graph, retention boundaries, and automatic image provisioning through ./start.

Validation

  • go test ./internal/prebuilt ./cmd/epar-prebuilt-publisher -count=1
  • go test -race ./internal/prebuilt ./cmd/epar-prebuilt-publisher -count=1
  • go test ./... -run '^$' -count=1
  • scripts/docker-sandboxes/validate-assets.ps1 -Platform linux/amd64
  • scripts/docker-sandboxes/validate-assets.ps1 -Platform linux/arm64
  • actionlint .github/workflows/docker-sandboxes-images.yml
  • git diff --check

Checklist

  • I kept credentials, private keys, tokens, and machine-specific configuration out of this pull request.
  • I added or updated tests where behavior changed.
  • I updated relevant documentation.
  • For provider or onboarding changes, I followed the Development and Extension Principles and documented and tested every intentional exception.
  • I read and followed the contributing guide and code of conduct.

Publish image candidates only from main while adding read-only pull-request validation. Assemble the final index from exact platform digests and rely on signed index-level evidence instead of duplicate BuildKit platform attestations.
@joecklau
joecklau marked this pull request as ready for review August 10, 2026 15:38
@joecklau
joecklau merged commit 53fb4b9 into develop Aug 10, 2026
19 checks passed
@joecklau
joecklau deleted the feature/prebuilt-publication-hygiene branch August 11, 2026 19:32
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