Update docker/login/action.yaml

This commit is contained in:
Zakary Timson 2023-11-24 04:13:03 +00:00
parent 64a54433b6
commit d260b945c2

View File

@ -36,4 +36,13 @@ runs:
uses: docker://docker uses: docker://docker
with: with:
entrypoint: docker entrypoint: docker
args: login -u "${{inputs.user}}" --password "${{inputs.pass}}" "${{env.URL}}"; docker push "${{env.URL}}/${{inputs.name}}:${{inputs.tag}}" args: login -u "${{inputs.user}}" --password "${{inputs.pass}}" "${{env.URL}}"
volumes:
- ./:/root/.docker/
- name: Push
uses: docker://docker
with:
entrypoint: docker
args: push "${{env.URL}}/${{inputs.name}}:${{inputs.tag}}"
volumes:
- ./:/root/.docker/