diff --git a/docker/login/action.yaml b/docker/login/action.yaml index 550a214..37fd14d 100644 --- a/docker/login/action.yaml +++ b/docker/login/action.yaml @@ -18,8 +18,11 @@ inputs: runs: using: composite 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 uses: docker://docker with: entrypoint: docker - args: login -u ${{inputs.user}} -p ${{inputs.password}} ${{inputs.registry}} \ No newline at end of file + args: login -u ${{inputs.user}} -p ${{inputs.password}} ${{env.URL}} \ No newline at end of file