From 7feea3bd691e07c19d1b2ae2ee447da652e2f4cf Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 24 Nov 2023 04:29:05 +0000 Subject: [PATCH] Update docker/login/action.yaml --- docker/login/action.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docker/login/action.yaml b/docker/login/action.yaml index 11306dc..7ead3d0 100644 --- a/docker/login/action.yaml +++ b/docker/login/action.yaml @@ -35,10 +35,4 @@ runs: - name: Docker Login uses: docker://docker with: - entrypoint: docker - args: -v ./:/root/.docker/ docker login -u "${{inputs.user}}" --password "${{inputs.pass}}" "${{env.URL}}" - - name: Push - uses: docker://docker - with: - entrypoint: docker - args: -v .:/root/.docker/ push "${{env.URL}}/${{inputs.name}}:${{inputs.tag}}" + args: /bin/sh -c "docker login -u ${{inputs.user}} -p ${{inputs.pass}} ${{env.URL}} && docker push ${{env.URL}}/${{inputs.name}}:${{inputs.tag}}"