Skip to content

Commit

Permalink
fix: update version match (#2)
Browse files Browse the repository at this point in the history
* fix: regex string change

Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda authored Mar 20, 2023
1 parent 568992f commit 39a9c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
VERSION="${IMAGE_PREFIX}-nightly"
fi
TAGS="${QUAY_IMAGE}:${VERSION},${GHCR_IMAGE}:${VERSION}"
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
if [[ "${{ needs.prebuild.outputs.version }}" =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
TAGS="$TAGS,${QUAY_IMAGE}:${IMAGE_PREFIX},${GHCR_IMAGE}:${IMAGE_PREFIX}"
fi
echo "settings tag ${TAGS}"
Expand Down

0 comments on commit 39a9c26

Please sign in to comment.