Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release-ghcr-version-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ jobs:
docker buildx imagetools create --tag \
ghcr.io/getsentry/sentry:${{ github.ref_name }} \
ghcr.io/getsentry/sentry:${{ github.sha }}

- name: Tag latest version
run: |
docker buildx imagetools create --tag \
ghcr.io/getsentry/sentry:latest \
ghcr.io/getsentry/sentry:${{ github.sha }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Latest Tag Incorrectly Points to Prereleases

The "Tag latest version" step runs on both prereleased and released events, causing the latest tag to point to prereleases. This means latest reflects prereleases instead of only stable CalVer releases.

Fix in Cursor Fix in Web

1 change: 0 additions & 1 deletion .github/workflows/self-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,5 @@ jobs:
docker buildx imagetools create \
--tag ghcr.io/getsentry/sentry:${{ github.sha }} \
--tag ghcr.io/getsentry/sentry:nightly \
--tag ghcr.io/getsentry/sentry:latest \
ghcr.io/getsentry/sentry:${{ github.sha }}-amd64 \
ghcr.io/getsentry/sentry:${{ github.sha }}-arm64
Loading