Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta50 committed Sep 18, 2024
1 parent bf361a5 commit c6e9b51
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/hostplumber-multiarch-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ jobs:
run: echo ${{ github.run_number }}

- name: Set env
run: |
run:
echo "TAG=$(echo "${{ env.BRANCH }}" | tr -d /)" >> $GITHUB_ENV
if startsWith(${{ env.TAG }}, 'v*')

- name: Set env
run: |
if startsWith(${{ env.TAG }}, 'v*') == true
echo "TAG=$(echo "${{ env.BRANCH }}") >> $GITHUB_ENV
else
echo "TAG=$(echo "${{ env.BRANCH }}")-${{ github.run_number }} >> $GITHUB_ENV
Expand Down

0 comments on commit c6e9b51

Please sign in to comment.