Skip to content

Commit

Permalink
[workflow] Fix var interpolation
Browse files Browse the repository at this point in the history
Signed-off-by: dd di cesare <[email protected]>
  • Loading branch information
didierofrivia committed Aug 26, 2024
1 parent 7f29a12 commit d0fc770
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,7 +109,7 @@ jobs:
- name: Set Operator version
id: operator-version
run: |
tag=${{GITHUB_REF_NAME}}
tag=${GITHUB_REF_NAME}
if [[ ${tag} =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
echo "VERSION=${tag#v}" >> $GITHUB_ENV
else
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
- name: Set Operator version
id: operator-version
run: |
tag=${{GITHUB_REF_NAME}}
tag=${GITHUB_REF_NAME}
if [[ ${tag} =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
echo "VERSION=${tag#v}" >> $GITHUB_ENV
else
Expand Down

0 comments on commit d0fc770

Please sign in to comment.