Update docker/login/action.yaml
This commit is contained in:
parent
3f13df4931
commit
0fdec6b5af
@ -21,8 +21,10 @@ runs:
|
|||||||
- name: Creat Image Tag
|
- name: Creat Image Tag
|
||||||
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
|
||||||
|
- run: echo docker login -u "${{inputs.user}}" --password "${{inputs.password}}" "${{env.URL}}"
|
||||||
|
shell: sh
|
||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
uses: docker://docker
|
uses: docker://docker
|
||||||
with:
|
with:
|
||||||
entrypoint: docker
|
entrypoint: docker
|
||||||
args: login -u "${{inputs.user}}" -p "${{inputs.password}}" "${{env.URL}}"
|
args: login -u "${{inputs.user}}" --password "${{inputs.password}}" "${{env.URL}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user