Skip to content

Commit

Permalink
update based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
maleck13 committed Aug 22, 2024
1 parent 7854e78 commit d2cddab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ jobs:
- name: Set Operator version
id: operator-version
run: |
tag=${{GITHUB_REF_NAME}}
if [[ ${tag} =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
tag=${GITHUB_REF_NAME/\//-}
if [[ ${tag} =~ ^[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
echo "VERSION=${tag#v}" >> $GITHUB_ENV
else
echo "VERSION=${{ github.sha }}" >> $GITHUB_ENV
Expand Down

0 comments on commit d2cddab

Please sign in to comment.