Skip to content

Commit

Permalink
Fix docker build version tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
jsixface committed Jan 20, 2025
1 parent de6f414 commit 9338200
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 9338200

Please sign in to comment.