Make release tags immutable and require the tag commit on main #61
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-reconcile-trigger#61
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
What
release.ymlpushes the version tag without checking it exists, and does not check the tag commit is onmain. The sha tag is immutable, the version tag is not enforced.Why
Infra pins the image by tag. A rewritten or off-branch tag changes what production runs.
Failing case
Re-run the release job, or move the git tag, and the registry tag is overwritten. A tag pushed on a feature branch builds and ships.
Fix
Before
podman push, runpodman manifest inspecton the tag and fail if it exists. After a full-depth checkout, rungit merge-base --is-ancestor "$GITHUB_SHA" origin/mainand fail if not.Done when