Update docker/login/action.yaml

This commit is contained in:
Zakary Timson 2023-11-24 04:22:13 +00:00
parent d260b945c2
commit afb9c91120

View File

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