Skip to content

ci: make image namespaces fork-neutral - #6413

Open
RossHartmann wants to merge 1 commit into
block:mainfrom
Kiingo:upstream/fork-neutral-images-20260820
Open

ci: make image namespaces fork-neutral#6413
RossHartmann wants to merge 1 commit into
block:mainfrom
Kiingo:upstream/fork-neutral-images-20260820

Conversation

@RossHartmann

Copy link
Copy Markdown

Summary

  • default relay and push-gateway image names to the current repository owner
  • allow each image namespace to be overridden independently with repository variables
  • keep cache publication, attestations, summaries, and verification commands on the same selected namespace

Why

The relay workflow already offered a partial override, but the default and all push-gateway paths were pinned to block. A protected main build in a fork could therefore compile successfully while publishing or attesting against a namespace it does not own.

Validation

  • parsed .github/workflows/docker.yml with PyYAML and asserted all four image jobs are present
  • asserted the owner-derived relay/gateway defaults and dynamic digest/provenance paths
  • asserted no hard-coded ghcr.io/block/buzz-push-gateway reference remains
  • git diff --check

The commit is signed off under the DCO.

Signed-off-by: Ross Hartmann <1750494+RossHartmann@users.noreply.github.com>
@RossHartmann
RossHartmann requested a review from a team as a code owner August 20, 2026 16:55
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