File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ jobs:
1515 with :
1616 username : ${{ secrets.DOCKERHUB_USERNAME }}
1717 password : ${{ secrets.DOCKERHUB_TOKEN }}
18- - name : Get the current branch name
18+ - name : Get the current tag name
1919 shell : bash
20- run : echo "::set-output name=branch ::${GITHUB_REF#refs/heads /}"
20+ run : echo "::set-output name=tag ::${GITHUB_REF#refs/tags /}"
2121 id : branchStep
2222 - name : Docker Build and Docker Push
2323 id : docker_build
2424 uses : docker/build-push-action@v2
2525 with :
2626 context : .
2727 push : true
28- tags : singlespa/import-map-deployer:${{ steps.branchStep.outputs.branch }},singlespa/import-map-deployer:latest
28+ tags : singlespa/import-map-deployer:${{ steps.branchStep.outputs.tag }},singlespa/import-map-deployer:latest
You can’t perform that action at this time.
0 commit comments