Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release GHCR Latest Image | |
on: | |
release: | |
types: [released] | |
jobs: | |
release-ghcr-latest-tag: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Log in to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Tag latest version | |
run: | | |
docker pull ghcr.io/getsentry/sentry-cli:${{ github.sha }} | |
docker tag ghcr.io/getsentry/sentry-cli:${{ github.sha }} ghcr.io/getsentry/sentry-cli:latest | |
docker push ghcr.io/getsentry/sentry-cli:latest |