Skip to content

Commit efb7304

Browse files
authored
ci: tag latest version only for calver release (#101146)
`latest` should point at CalVer release, and `nightly` should point at master/main branch. We're cleaning things up for self-hosted users.
1 parent 7e61516 commit efb7304

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release-ghcr-version-tag.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ jobs:
2020
docker buildx imagetools create --tag \
2121
ghcr.io/getsentry/sentry:${{ github.ref_name }} \
2222
ghcr.io/getsentry/sentry:${{ github.sha }}
23+
24+
- name: Tag latest version
25+
run: |
26+
docker buildx imagetools create --tag \
27+
ghcr.io/getsentry/sentry:latest \
28+
ghcr.io/getsentry/sentry:${{ github.sha }}

.github/workflows/self-hosted.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,5 @@ jobs:
115115
docker buildx imagetools create \
116116
--tag ghcr.io/getsentry/sentry:${{ github.sha }} \
117117
--tag ghcr.io/getsentry/sentry:nightly \
118-
--tag ghcr.io/getsentry/sentry:latest \
119118
ghcr.io/getsentry/sentry:${{ github.sha }}-amd64 \
120119
ghcr.io/getsentry/sentry:${{ github.sha }}-arm64

0 commit comments

Comments
 (0)