Skip to content

ci(publish-images): register the release tag on every scope image artifact - #248

Merged
agustincelentano merged 1 commit into
betafrom
fix/publish-images-register-tag
Sep 8, 2026
Merged

agustincelentano merged 1 commit into
betafrom
fix/publish-images-register-tag

Conversation

@agustincelentano

Copy link
Copy Markdown
Collaborator

Qué pasa hoy

publish-images.yml registra las tres imágenes (containers, scheduled-task, containers-datadog) como artifacts globales con --digest solamente. Las revisiones quedan sin tag:

scopes/containers   2026-09-07 tag=-  digest=sha256:912b877e…
scopes/containers   2026-09-04 tag=-  digest=sha256:c8b48702…
scopes/scheduled-task 2026-09-07 tag=-  digest=sha256:c2604ce5…

Los repos que publican por release-publish-oci.yml de actions-nullplatform (lambda, s3, rds) sí registran --tag, y sus artifacts se resuelven desde tofu-modules v7.4.0 con lookup = true y meta.tag = "v0.5.0", sin copiar digests a mano. Los de este repo no: tofu-modules 7.4 solo puede encontrarlos por digest, que es exactamente lo que el lookup por tag quería evitar.

Qué cambia

Los tres np artifact create pasan además --tag "${{ inputs.existing_tag || github.ref_name }}", la misma expresión que ya usa el workflow para taggear la imagen en ECR. A partir de la próxima release, cada artifact trae digest y tag, y lookup por tag funciona igual que para lambda, s3 y rds.

Las revisiones ya publicadas no cambian, son inmutables. Si hace falta que una versión existente tenga tag, alcanza con registrar una revisión nueva con el mismo digest más el tag, o cortar una release nueva.

…ifact

The three np artifact create steps passed only the digest, so the global
artifacts for containers, scheduled-task and containers-datadog carry no
tag and cannot be resolved with `lookup = true` + meta.tag, unlike the
images published through release-publish-oci. Pass the release tag too.
@agustincelentano
agustincelentano merged commit e2b19e8 into beta Sep 8, 2026
3 checks passed
@agustincelentano
agustincelentano deleted the fix/publish-images-register-tag branch September 8, 2026 12:58
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.

2 participants