Skip to content

Commit

Permalink
Added semver tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sweisgerber committed Feb 9, 2025
1 parent 74573f8 commit f51d410
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-push-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ jobs:
ghcr.io/${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}
tags: |
# set latest tag for default branch
type=schedule
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=v${{ env.SNAPCAST_VERSION }},enable={{is_default_branch}}
type=schedule
type=semver,pattern=v{{version}},prefix=tag-
# type=ref,event=branch
type=ref,event=tag
# type=ref,event=tag
# type=ref,event=pr
# Build & Push
- name: Build and push Docker images
Expand Down

0 comments on commit f51d410

Please sign in to comment.