From 80dfeb3387af69ecfb44696349920d825d2e04ec Mon Sep 17 00:00:00 2001 From: xRain Date: Tue, 22 Aug 2023 00:27:20 +0800 Subject: [PATCH] test ci --- action.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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