Skip to content

Commit 546859f

Browse files
committed
chore: add auto-tagging for beta releases
1 parent 973ce6d commit 546859f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3434
tags: |
3535
type=semver,pattern={{version}}
36+
type=raw,value=beta,enable=${{ contains(github.ref, '-beta') }}
37+
type=raw,value=latest,enable=${{ !contains(github.ref, '-beta') }}
3638
3739
- name: Build and push Docker image
3840
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)