fix(ci): lowercase GHCR image name for buildx tag validation - #8
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué
El job Build & Attest de SLSA Provenance fallaba en TODO push a main:
github.repositorycontiene mayúsculas y Docker/GHCR exigen lowercase.Fix
env.IMAGE_NAMEa nivel workflow con el nombre canónico lowercase (ghcr.io/sabatech-dev/alfred-mission-control)tagsdel build,subject-namedel attestation y el comando de verificación del summary (que además referenciaba un tagsha--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).