Skip to content

fix(ci): restore top-level env block dropped by consolidation #258#534

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/restore-release-env-block
Jun 25, 2026
Merged

fix(ci): restore top-level env block dropped by consolidation #258#534
hyperpolymath merged 1 commit into
mainfrom
fix/restore-release-env-block

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Root cause of the undefined env.REGISTRY/env.IMAGE_NAME: the v1.0 commit 0d310fa had the top-level env: block, but the workflow-consolidation PR #258 ('consolidate 37 workflows → 23, behaviour-preserving') moved the container jobs from container.yml into release.yml without carrying the env: block — and env: is file-scoped, so it didn't travel with the moved jobs. The vars went undefined, breaking ghcr login, metadata/push tags, and the attest subject-name. So it was fixed before; the consolidation regressed it. Restores the original REGISTRY: ghcr.io / IMAGE_NAME: ${{ github.repository }}. 🤖 Generated with Claude Code

…#258

#258 ('consolidate 37 workflows -> 23, behaviour-preserving') moved the
container jobs from container.yml into release.yml but did NOT carry the
top-level env: block — and env: is file-scoped, so env.REGISTRY/env.IMAGE_NAME
silently went undefined. That broke ghcr login, image metadata/push tags, and
(latterly) the attestation subject-name. Restores:
  env:
    REGISTRY: ghcr.io
    IMAGE_NAME: ${{ github.repository }}
(the values from 0d310fa, where the block originally lived).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit 05fdae5 into main Jun 25, 2026
20 of 30 checks passed
@hyperpolymath
hyperpolymath deleted the fix/restore-release-env-block branch June 25, 2026 09:05
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