Skip to content

Commit 9938d37

Browse files
authored
Merge pull request #161 from sameersbn/tag-match
ci: fix tag matches
2 parents 6f65c43 + 6928226 commit 9938d37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
tags:
8-
- 'v*.*.*'
8+
- 'v(.*)'
99
pull_request:
1010
branches:
1111
- master
@@ -32,8 +32,8 @@ jobs:
3232
quay.io/sameersbn/postgresql
3333
ghcr.io/sameersbn/postgresql
3434
tags: |
35-
type=semver,pattern={{version}}
36-
type=semver,pattern={{major}}.{{minor}}
35+
type=match,pattern=\d
36+
type=match,pattern=(.*)
3737
latest
3838
3939
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)