File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 uses : " actions/checkout@v2.0.0"
2525
2626 - name : " Grab version number"
27- id : " get_version "
28- run : " echo ::set-output name=VERSION::${GITHUB_REF/refs \/ tags \/ /} "
27+ uses : " olegtarasov/get-tag@v1 "
28+ id : " tagName "
2929
3030 - name : " Build Docker image"
3131 run : " docker build --tag extdn/${{ matrix.actions-with-docker-image }}-action:latest ${{ matrix.actions-with-docker-image }}/."
@@ -37,10 +37,10 @@ jobs:
3737 run : " docker push extdn/${{ matrix.actions-with-docker-image }}-action:latest"
3838
3939 - name : " Tag Docker image (versioned)"
40- run : " docker tag extdn/${{ matrix.actions-with-docker-image }}-action extdn/${{ matrix.actions-with-docker-image }}-action:${{steps.get_version .outputs.name }}"
40+ run : " docker tag extdn/${{ matrix.actions-with-docker-image }}-action extdn/${{ matrix.actions-with-docker-image }}-action:${{ steps.tagName .outputs.tag }}"
4141
4242 - name : " Push Docker image (versioned)"
43- run : " docker push extdn/${{ matrix.actions-with-docker-image }}-action:${{steps.get_version .outputs.name }}"
43+ run : " docker push extdn/${{ matrix.actions-with-docker-image }}-action:${{ steps.tagName .outputs.tag }}"
4444
4545 - name : " Docker Logout"
4646 run : " docker logout"
You can’t perform that action at this time.
0 commit comments