feat: harden tag pattern matches on standalone versions
This commit is contained in:
parent
4c742dcf06
commit
0b09b4159c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
|
@ -26,8 +26,8 @@ jobs:
|
|||
tags: |
|
||||
type=ref,event=branch,branch=dev,suffix=-{{sha}},optional=true
|
||||
type=ref,event=branch,branch=dev,value=dev,optional=true
|
||||
type=match,event=tag,pattern=v(.*),group=1,prefix=v,optional=true
|
||||
type=match,event=tag,pattern=v(.*),value=latest,optional=true
|
||||
type=match,event=tag,pattern=v(\d+\.\d+\.\d+(?:-[\w\d.-]+)?),group=1,prefix=v,optional=true
|
||||
type=match,event=tag,pattern=v(\d+\.\d+\.\d+(?:-[\w\d.-]+)?),value=latest,optional=true
|
||||
|
||||
- name: Print (debug) Docker meta JSON
|
||||
uses: https://github.com/actions/github-script@v8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue