Update docker/login/action.yaml
This commit is contained in:
parent
75516540b6
commit
e9ed69ad88
@ -18,8 +18,11 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
- name: Creat Image Tag
|
||||||
|
run: echo "URL=$(echo ${{github.server_url}} | sed s%http://%% | sed s%https://%% )" >> $GITHUB_ENV
|
||||||
|
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}} ${{inputs.registry}}
|
args: login -u ${{inputs.user}} -p ${{inputs.password}} ${{env.URL}}
|
Loading…
Reference in New Issue
Block a user