Update docker/login/action.yaml
This commit is contained in:
parent
64a54433b6
commit
d260b945c2
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user