Skip to content

fix(ci): lowercase GHCR image name for buildx tag validation - #8

Merged
SabaTech-dev merged 1 commit into
mainfrom
fix/slsa-image-lowercase
Aug 26, 2026
Merged

fix(ci): lowercase GHCR image name for buildx tag validation#8
SabaTech-dev merged 1 commit into
mainfrom
fix/slsa-image-lowercase

Conversation

@SabaTech-dev

Copy link
Copy Markdown
Owner

Qué

El job Build & Attest de SLSA Provenance fallaba en TODO push a main:

ERROR: failed to build: invalid tag "ghcr.io/SabaTech-dev/Alfred-Mission-Control:…": repository name must be lowercase

github.repository contiene mayúsculas y Docker/GHCR exigen lowercase.

Fix

  • env.IMAGE_NAME a nivel workflow con el nombre canónico lowercase (ghcr.io/sabatech-dev/alfred-mission-control)
  • Usado en: tags del build, subject-name del attestation y el comando de verificación del summary (que además referenciaba un tag sha--prefixed que nunca se publicó)

Verificación esperada

Tras merge: workflow SLSA Provenance verde en main (build + push GHCR + attestation). Cierra el último blocker de card d3770a95 (AC4/AC5).

Docker/GHCR require lowercase repository names. github.repository
(SabaTech-dev/Alfred-Mission-Control) broke 'docker buildx build' with
'invalid tag: repository name must be lowercase', failing the SLSA
Build & Attest job on every push to main.

Introduce workflow-level env.IMAGE_NAME (canonical lowercase artifact
name) and use it consistently for: build tags, attestation subject-name
and the verification summary (which also referenced a never-pushed
'sha-' prefixed tag).
@SabaTech-dev
SabaTech-dev merged commit 73397aa into main Aug 26, 2026
4 checks passed
@SabaTech-dev
SabaTech-dev deleted the fix/slsa-image-lowercase branch August 26, 2026 04: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