Update docker/login/action.yaml
This commit is contained in:
parent
fa791b73f7
commit
d829bfd957
@ -17,6 +17,14 @@ inputs:
|
||||
required: false
|
||||
description: User password
|
||||
default: ${{secrets.DEPLOY_TOKEN}}
|
||||
name:
|
||||
type: string
|
||||
required: false
|
||||
default: ${{github.repository}}
|
||||
tag:
|
||||
type: string
|
||||
required: false
|
||||
default: ${{github.ref_name}}
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@ -24,8 +32,6 @@ runs:
|
||||
- name: Creat Image Tag
|
||||
run: echo "URL=$(echo ${{github.server_url}} | sed s%http://%% | sed s%https://%% )" >> $GITHUB_ENV
|
||||
shell: sh
|
||||
- run: echo docker login -u "${{inputs.user}}" --password "${{inputs.pass}}" "${{env.URL}}"
|
||||
shell: sh
|
||||
- name: Docker Login
|
||||
uses: docker://docker
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user