Skip to content

Commit

Permalink
Try push semver on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Apr 22, 2024
1 parent 45132d0 commit 4c7ced4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# set latest tag for default branch
type=semver,pattern={{version}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 4c7ced4

Please sign in to comment.