Skip to content

Commit c9da431

Browse files
committed
fix: bump metadata-action
1 parent 7fc5f68 commit c9da431

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
git fetch --tags
3131
TAG=$(git describe --tags --abbrev=0)
3232
echo "tag=$TAG" >> $GITHUB_OUTPUT
33-
- name: Get current tag
34-
run: |
35-
echo "Tag: ${{ steps.tag.outputs.tag }}"
3633
- name: Log in to the Github Container registry
3734
uses: docker/login-action@v3
3835
with:
@@ -42,13 +39,11 @@ jobs:
4239

4340
- name: Extract metadata (tags, labels) for Docker
4441
id: meta
45-
uses: docker/metadata-action@v4
42+
uses: docker/metadata-action@v5
4643
with:
4744
images: ghcr.io/${{ github.repository_owner }}/stencil-cli
4845
tags: |
49-
type=match,pattern=\d.\d.\d
50-
type=match,pattern=\d.\d.
51-
type=match,pattern=\d.
46+
type=semver,pattern={{version}}
5247
- name: Set up Docker Buildx
5348
uses: docker/setup-buildx-action@v3
5449

0 commit comments

Comments
 (0)