Skip to content

Commit 49e2e4f

Browse files
feat(release): Tag images with release version. (#4532)
1 parent aa5e3ee commit 49e2e4f

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release GHCR Versioned Image
2+
3+
on:
4+
release:
5+
types: [prereleased, released]
6+
7+
jobs:
8+
release-ghcr-version-tag:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Log in to GitHub Container Registry
12+
uses: docker/login-action@v3
13+
with:
14+
registry: ghcr.io
15+
username: ${{ github.actor }}
16+
password: ${{ secrets.GITHUB_TOKEN }}
17+
18+
- name: Tag release version
19+
run: |
20+
docker buildx imagetools create --tag \
21+
ghcr.io/getsentry/relay:${{ github.ref_name }} \
22+
ghcr.io/getsentry/relay:${{ github.sha }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
**Features**:
66

7+
- Tag images with release version. ([#4532](https://github.com/getsentry/relay/pull/4532))
78
- Switch default envelope compression from gzip to zstd. ([#4531](https://github.com/getsentry/relay/pull/4531))
89
- Update release to include an aarch64 binary. ([#4514](https://github.com/getsentry/relay/pull/4514))
910
- Support span `category` inference from span attributes. ([#4509](https://github.com/getsentry/relay/pull/4509))

0 commit comments

Comments
 (0)