Skip to content

Commit

Permalink
.github/docker-build: Tag ':release' on git tags
Browse files Browse the repository at this point in the history
Caution: This tags the docker image `:release` on _every_
git push containing tags!
  • Loading branch information
ix5 committed Apr 28, 2024
1 parent ba7c6d5 commit 1544b34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{version}}
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=release,enable=${{ github.ref_type == 'tag' }}
- name: Login to Github Container Registry
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 1544b34

Please sign in to comment.