Skip to content

[FEATURE] Private-image CI support: authenticated resolve-image probe + templated container credentials #920

Closed

Description

@c-vigo

Context

Split out from #854 (Part B, audit item 8). The shipped container-based CI
workflows assume ghcr.io/vig-os/devcontainer is public and
unauthenticated
. #854 documented the limitation loudly in
assets/workspace/docs/container-ci-quirks.md ("Public-image assumption") and
delivered the direnv nix-direct lane + the cheap skew fixes; the first-class
private-image fix was deferred here to keep that PR reviewable.

Problem

  • assets/workspace/.github/actions/resolve-image/action.yml validates the tag
    with an unauthenticated docker manifest inspect "$IMAGE" > /dev/null 2>&1
    — stderr is swallowed, so an auth/rate-limit failure surfaces only as the
    generic "Cannot access image manifest".
  • The in-container jobs (ci.yml, prepare-release.yml, promote-release.yml,
    release*.yml, sync-*) declare container: { image: … } with no
    credentials: block`
    , so a private image (or an anonymous pull throttled by
    GHCR) fails opaquely at the job's container-pull step.

Scope

  • Authenticated probe in resolve-image (login to GHCR with a registry token
    when one is available; keep the anonymous path for public images) with a
    clear "authentication required / denied" message.
  • A templated credentials: block on the shipped container jobs, wired to a
    documented secret (e.g. GHCR_PULL_TOKEN), opt-in so public consumers are
    unaffected.
  • Rides the devkit rename cycle ([CHORE] Rename devcontainer → devkit (after publish-cutover #639) #781), which already rewrites the whole
    assets/workspace/ scaffold — the blast radii overlap.

Refs: #854, #781

Activity

  1. added this to the Backlog milestone on Jul 7, 2026
  2. added
    feature
    priority:low
    area:ci
    area:workspace
    effort:medium
    on Jul 7, 2026
  3. modified the milestones: Backlog, 0.5 on Jul 8, 2026
  4. c-vigo commented on Jul 8, 2026

    @c-vigo
    ContributorAuthor

    Closed by #925

  5. added a commit that references this issue on Jul 9, 2026
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

    area:ciarea:workspaceeffort:mediumfeaturepriority:low

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions