Match entire tag during build
This commit is contained in:
parent
2e6f102dce
commit
1f927c6300
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker-hub.yml
vendored
2
.github/workflows/docker-hub.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
ref=${ref##*/}
|
||||
if [[ $ref == master ]]; then
|
||||
tags=$repo:unstable
|
||||
elif [[ $ref =~ ^([0-9.]+)-((([0-9]+[.])[0-9]+[.])([.][0-9+])*) ]]; then
|
||||
elif [[ $ref =~ ^([0-9.]+)-((([0-9]+[.])[0-9]+[.])([.][0-9+])*)$ ]]; then
|
||||
upstream=${BASH_REMATCH[1]}
|
||||
minor=${BASH_REMATCH[3]}x
|
||||
major=${BASH_REMATCH[4]}x
|
||||
|
|
Loading…
Reference in a new issue