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 <didi@posteo.net>
  • Loading branch information
didierofrivia committed Aug 26, 2024
1 parent 7f29a12 commit d44a8b1
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 d44a8b1

Please sign in to comment.