Skip to content

Commit 42cb17f

Browse files
committed
update SEMVAR_TAG regex
Signed-off-by: Brian L. Troutwine <[email protected]>
1 parent 7d0c6fd commit 42cb17f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
id: tags
4646
run: |
4747
ALL_TAGS="${{ steps.meta.outputs.tags }}"
48-
SEMVER_TAG=$(echo "$ALL_TAGS" | grep '^ghcr.io/.*:v' || true)
48+
SEMVER_TAG=$(echo "$ALL_TAGS" | grep -E '^ghcr.io/.+:[0-9]+\.[0-9]+\.[0-9]+' || true)
4949
SHA_TAG=$(echo "$ALL_TAGS" | grep sha- || true)
5050
5151
if [ -n "$SEMVER_TAG" ]; then

0 commit comments

Comments
 (0)