diff --git a/docker/login/action.yaml b/docker/login/action.yaml index 2115047..adf0d4f 100644 --- a/docker/login/action.yaml +++ b/docker/login/action.yaml @@ -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: