Skip to content

Commit

Permalink
add tag var to authorino-build-info
Browse files Browse the repository at this point in the history
Signed-off-by: ehearneredhat <[email protected]>
  • Loading branch information
ehearneRedHat committed Aug 22, 2024
1 parent 30febab commit afbe353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
id: authorino-build-info
run: |
if [[ ${GITHUB_REF_NAME/\//-} =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
tag=${GITHUB_REF_NAME/\//-}
echo "VERSION=${tag#v}" >> $GITHUB_ENV
else
echo "version=latest" >> $GITHUB_ENV
Expand Down

0 comments on commit afbe353

Please sign in to comment.