File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1212 GLOBAL_IMAGE_NAME :
1313 required : true
1414 type : string
15- GLOBAL_IMAGE_NAME_2 :
15+ GLOBAL_IMAGE_NAME2 :
1616 required : false
1717 type : string
1818 secrets :
7272 run : docker push "${{ inputs.GLOBAL_REPO_NAME }}/${{ inputs.GLOBAL_IMAGE_NAME }}"
7373
7474 - name : (Maybe) push image with more names
75- run : if [ -z ${{GLOBAL_IMAGE_NAME_2 }} ]; then \
76- docker tag "${{ inputs.GLOBAL_REPO_NAME }}/${{ inputs.GLOBAL_IMAGE_NAME }}" "${{ inputs.GLOBAL_REPO_NAME }}/${{ inputs.GLOBAL_IMAGE_NAME_2 }}" && \
77- docker push "${{ inputs.GLOBAL_REPO_NAME }}/${{ inputs.GLOBAL_IMAGE_NAME_2 }}"
75+ run : if [ -z ${{GLOBAL_IMAGE_NAME2 }} ]; then \
76+ docker tag "${{ inputs.GLOBAL_REPO_NAME }}/${{ inputs.GLOBAL_IMAGE_NAME }}" "${{ inputs.GLOBAL_REPO_NAME }}/${{ inputs.GLOBAL_IMAGE_NAME2 }}" && \
77+ docker push "${{ inputs.GLOBAL_REPO_NAME }}/${{ inputs.GLOBAL_IMAGE_NAME2 }}"
7878
7979 - name : Slack notification
8080 if : failure()
You can’t perform that action at this time.
0 commit comments