File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,21 +37,21 @@ jobs:
3737 - name : Checkout
3838 uses : actions/checkout@v4
3939 - name : Print tag0
40- run : echo "tag =${{ needs.release-please.outputs.tag_name }}"
40+ run : echo "tag0 =${{ needs.release-please.outputs.tag_name }}"
4141 - name : Print tag1
4242 run : |
4343 TAG=$(echo "${{ needs.release-please.outputs.tag_name }}" | cut -c 2-)
4444 echo "tag1=$TAG"
45+ - name : Get version tag
46+ id : get_tag
47+ # needs.release-please.outputs.tag_name = v1.0.0
48+ run : echo "VERSION=$(echo "${{ needs.release-please.outputs.tag_name }}" | cut -c 2-)" >> $GITHUB_OUTPUT
4549 - name : Print tag2
46- run : echo "tag =${{ steps.get_tag.outputs.VERSION }}"
50+ run : echo "tag2 =${{ steps.get_tag.outputs.VERSION }}"
4751 - name : Print tag3
4852 run : |
4953 TAG=$(echo "${{ steps.get_tag.outputs.VERSION }}" | sed 's/v\([0-9.]*\).*/\1/')
5054 echo "tag3=$TAG"
51- - name : Get version tag
52- id : get_tag
53- # needs.release-please.outputs.tag_name = v1.0.0
54- run : echo "VERSION=$(echo "${{ needs.release-please.outputs.tag_name }}" | cut -c 2-)" >> $GITHUB_OUTPUT
5555 - name : Docker meta
5656 id : meta
5757 uses : docker/metadata-action@v5
You can’t perform that action at this time.
0 commit comments