diff --git a/action.yml b/action.yml index f6740d9..6cc9fc9 100644 --- a/action.yml +++ b/action.yml @@ -22,15 +22,6 @@ runs: echo "ENTRYPOINT [\"./App\"]" >> Dockerfile ls cat Dockerfile - - - shell: sh - run: | - docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . - - - shell: sh - run: | - docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}} - - - shell: sh - run: | - docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} + docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . + docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}} + docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} \ No newline at end of file