fix: 🐛 push image version tag directly, never delete a staging tag #202
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/OpenSpec
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
RFC - Request For Comments
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
hermes-attempted
hermes-needs-clarification
hermes-ready
hermes-review
hermes-wip
human-required
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
agentic-forges/forgejo-mcp!202
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/202/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Release publishing silently dropped the
:vX.Y.Zand:latestcontainer tags. On Forgejo/Codeberg, deleting any tag deletes the underlying manifest — sopromote-image-tag'sskopeo delete :build-tmpcleanup also wiped the version tags that shared that digest.v2.27.0 was the first release to run the delete step (added in
f026f8c). Result: the image manifestsha256:5293ae…and both:v2.27.0/:latesttags were removed; only the cosign.sig/.attartifacts (separate manifests) survived. Confirmed against the registry, and differentially againstoperate-first/release-tools(published before the delete step → tags intact).Fix
Shared by both publish pipelines (
forgejo-mcpapp image +release-tools)::vX.Y.Zdirectly (newTAGparam); no:build-tmpstaging tag is ever created.:latest(stable releases); it no longer copies:vX.Y.Zor deletes any tag.finally, gated onattach-sbomnot succeeding, to remove the briefly-unsigned:vX.Y.Z— preserving the fail-closed "never advertise unsigned" guarantee.Both PipelineRuns validated with
oc create --dry-run=server.Refs:
forgejo-mcp-9r4op1st Pipelines as Code/forgejo-mcp-code-scans-zvzc7 is running.
Starting Pipelinerun forgejo-mcp-code-scans-zvzc7 in namespace op1st-pipelines
You can monitor the execution using the op1st Pipelines as Code PipelineRun viewer or through the command line by
using the tkn CLI with the following command:
tkn pr logs -n op1st-pipelines forgejo-mcp-code-scans-zvzc7 -fop1st Pipelines as Code/forgejo-mcp-on-pull-request-lkd4t is running.
Starting Pipelinerun forgejo-mcp-on-pull-request-lkd4t in namespace op1st-pipelines
You can monitor the execution using the op1st Pipelines as Code PipelineRun viewer or through the command line by
using the tkn CLI with the following command:
tkn pr logs -n op1st-pipelines forgejo-mcp-on-pull-request-lkd4t -fop1st Pipelines as Code/forgejo-mcp-code-scans-zvzc7 has successfully validated your commit.
Task Statuses:
fetch-source
gitleaks-version
gitleaks
op1st Pipelines as Code/forgejo-mcp-on-pull-request-lkd4t has successfully validated your commit.
Task Statuses:
fetch-source
build-and-test
commit-title-check