Skip to content

Commit 645dc58

Browse files
committed
feat: update Docker metadata tags for improved versioning and branch identification
1 parent fae43e3 commit 645dc58

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/docker-publish.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ jobs:
4040
with:
4141
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4242
tags: |
43+
type=ref,event=branch
44+
type=semver,pattern={{version}}
45+
type=semver,pattern={{major}}.{{minor}}
4346
type=raw,value=latest,enable={{is_default_branch}}
47+
type=sha,prefix={{branch}}-
4448
4549
- name: Build and push Docker image
4650
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)