Skip to content

Commit

Permalink
update SEMVAR_TAG regex
Browse files Browse the repository at this point in the history
Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt committed Dec 18, 2024
1 parent 7d0c6fd commit 42cb17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
id: tags
run: |
ALL_TAGS="${{ steps.meta.outputs.tags }}"
SEMVER_TAG=$(echo "$ALL_TAGS" | grep '^ghcr.io/.*:v' || true)
SEMVER_TAG=$(echo "$ALL_TAGS" | grep -E '^ghcr.io/.+:[0-9]+\.[0-9]+\.[0-9]+' || true)
SHA_TAG=$(echo "$ALL_TAGS" | grep sha- || true)
if [ -n "$SEMVER_TAG" ]; then
Expand Down

0 comments on commit 42cb17f

Please sign in to comment.