Skip to content

Commit 106f937

Browse files
authored
Merge pull request #11 from fok666/feature/fix-semver-release
fix: update semver patterns
2 parents 1786a60 + 7172f2f commit 106f937

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
type=raw,value=python${{ matrix.python-version }}-amd64-latest,enable={{is_default_branch}}
5050
type=ref,event=branch,suffix=-python${{ matrix.python-version }}-amd64
5151
type=ref,event=pr,suffix=-python${{ matrix.python-version }}-amd64
52-
type=semver,pattern={{version}},suffix=-python${{ matrix.python-version }}-amd64
53-
type=semver,pattern={{major}}.{{minor}},suffix=-python${{ matrix.python-version }}-amd64
52+
type=semver,pattern=v{{version}},suffix=-python${{ matrix.python-version }}-amd64
53+
type=semver,pattern=v{{major}}.{{minor}},suffix=-python${{ matrix.python-version }}-amd64
5454
type=sha,suffix=-python${{ matrix.python-version }}-amd64
5555
5656
- name: Build and push AMD64 image
@@ -99,8 +99,8 @@ jobs:
9999
type=raw,value=python${{ matrix.python-version }}-arm64-latest,enable={{is_default_branch}}
100100
type=ref,event=branch,suffix=-python${{ matrix.python-version }}-arm64
101101
type=ref,event=pr,suffix=-python${{ matrix.python-version }}-arm64
102-
type=semver,pattern={{version}},suffix=-python${{ matrix.python-version }}-arm64
103-
type=semver,pattern={{major}}.{{minor}},suffix=-python${{ matrix.python-version }}-arm64
102+
type=semver,pattern=v{{version}},suffix=-python${{ matrix.python-version }}-arm64
103+
type=semver,pattern=v{{major}}.{{minor}},suffix=-python${{ matrix.python-version }}-arm64
104104
type=sha,suffix=-python${{ matrix.python-version }}-arm64
105105
106106
- name: Build and push ARM64 image

0 commit comments

Comments
 (0)