Skip to content

Commit 9fcd6ca

Browse files
committed
fix: fix tags
1 parent 5c1d3eb commit 9fcd6ca

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
with:
1515
node-version: '20.x'
1616
- run: npm i
17+
- name: Print GitHub ref
18+
run: echo "GITHUB_REF=${GITHUB_REF}"
1719
# - name: Get latest Git tag
1820
# id: tag
1921
# run: |
@@ -28,6 +30,7 @@ jobs:
2830
context: git
2931
tags: |
3032
type=semver,pattern={{version}}
33+
type=semver,pattern={{major}},prefix=
3134
# - name: Set up Docker Buildx
3235
# uses: docker/setup-buildx-action@v3
3336

0 commit comments

Comments
 (0)