Skip to content

[Request]: Promote a tested container image instead of rebuilding during GHCR publication #233

Closed

Description

@jimhoyd

Problem or use case

ci.yml builds and smoke-tests an image, while release.yml conditionally builds a new image from source for GHCR. npm publishers promote signed candidate archives, but the container path does not promote a tested image digest. Live GHCR images and publication settings were not inspected in this audit.

Source audited: ea05148. Parent audit: #185 (findings). Evidence: verify run, candidate run. Timings describe one run, not a controlled savings benchmark.

Proposed behavior and alternatives

Design a candidate image build/test and immutable digest promotion path, preserving source/version labels, channel monotonicity, exact-commit checks, and retry identity. Consider consuming verified candidate bytes and retaining an image digest in signed metadata. Keep source Docker builds available for self-hosting. Demonstrate that tested and promoted images match and that retries cannot substitute bytes. The sampled CI Docker build was only 12 seconds; assess cache complexity accordingly. This issue does not authorize enabling publication or changing existing tags. Priority: next.

Update the matching repository documentation with any behavior/workflow changes. Preserve required checks and deliberate reproducibility validation. No implementation or deployment changes were made by this audit.

Activity

  1. jimhoyd commented on Sep 20, 2026

    @jimhoyd
    CollaboratorAuthor

    Design merged in #241; recommendation recorded in #247. Closing as design-complete; implementation (staged, pending GHCR read access and an operator-controlled candidate build) is to be tracked separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions