Skip to content

Commit

Permalink
fix github.ref_name syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bquan0 committed Sep 19, 2024
1 parent 8c153cf commit c767cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
- name: Add extra tag if NOT on the main branch
if: github.ref_name != 'main'
run: |
echo "EXTRA_TAG=-$github.ref_name" >> $GITHUB_ENV
echo "EXTRA_TAG_CI=:$github.ref_name" >> $GITHUB_ENV
echo "EXTRA_TAG=-${{ github.ref_name }}" >> $GITHUB_ENV
echo "EXTRA_TAG_CI=:${{ github.ref_name }}" >> $GITHUB_ENV
- id: output_tag
run: echo "image_tag=$EXTRA_TAG_CI" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit c767cfc

Please sign in to comment.