Update docker/push/action.yaml

This commit is contained in:
Zakary Timson 2024-02-06 14:06:27 +00:00
parent 4790bc0235
commit d3c3e1ac37

View File

@ -38,8 +38,9 @@ runs:
run: echo "URL=$(echo ${{github.server_url}} | sed s%http://%% | sed s%https://%% )" >> $GITHUB_ENV run: echo "URL=$(echo ${{github.server_url}} | sed s%http://%% | sed s%https://%% )" >> $GITHUB_ENV
shell: sh shell: sh
- name: Re-Tag - name: Tag Image
run: [ -n ${{inputs.from}} ] && docker tag ${{inputs.from}} "${{env.URL}}/${{inputs.name}}:${{inputs.tag}}" run: |
[[ -n ${{inputs.from}} ]] && docker tag ${{inputs.from}} "${{env.URL}}/${{inputs.name}}:${{inputs.tag}}"
shell: sh shell: sh
- name: Docker Login - name: Docker Login