File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3232 - name : Get branch name
3333 id : branch-name
3434 uses : tj-actions/branch-names@v8
35+ with :
36+ strip_tag_prefix : ' '
3537
3638 - name : Current branch name
3739 run : |
4345 if : steps.branch-name.outputs.is_tag == 'true'
4446 run : |
4547 echo "TAG_NAME=${{ steps.branch-name.outputs.tag }}" >> ${GITHUB_ENV}
46- echo "TAG_LATEST=latest " >> ${GITHUB_ENV}
48+ echo "TAG_LATEST=${{ steps.branch-name.outputs.tag }} " >> ${GITHUB_ENV}
4749
4850 - name : Running on a branch and merge.
4951 if : steps.branch-name.outputs.is_tag != 'true' && github.event_name == 'push' && steps.branch-name.outputs.current_branch != 'main'
Original file line number Diff line number Diff line change 3737 - name : Get branch name
3838 id : branch-name
3939 uses : tj-actions/branch-names@v8
40+ with :
41+ strip_tag_prefix : ' '
4042
4143 - name : Current branch name
4244 run : |
You can’t perform that action at this time.
0 commit comments