Update docker/login/action.yaml

This commit is contained in:
Zakary Timson 2023-11-24 03:59:09 +00:00
parent fa791b73f7
commit d829bfd957

View File

@ -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: