Skip to content

Commit 6672eba

Browse files
committed
fix: use git checked out branch to drive metadata
1 parent af5b2de commit 6672eba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/shared-build-and-deploy.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
uses: docker/metadata-action@v5
6464
with:
6565
images: ${{ steps.vars.outputs.image_name }}
66+
context: git # so it uses the git branch that is checked out
6667
tags: |
6768
type=semver,pattern={{version}}
6869
type=semver,pattern={{major}}.{{minor}}

0 commit comments

Comments
 (0)