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}}"