diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index baf61fc..e7c3a64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,8 +49,8 @@ jobs: key: ${{ secrets.KEY }} envs: GITHUB_SHA script: | - sudo docker stop ticats || true - sudo docker rm ticats || true - sudo docker image rm ${{ secrets.DOCKER_USERNAME }}/ticats:latest || true - sudo docker pull ${{ secrets.DOCKER_USERNAME }}/ticats:latest - sudo docker run -d -p 8080:8080 --name ticats -v ${{ secrets.DOCKER_USERNAME }}/ticats:latest + sudo docker stop ticats + sudo docker rm ticats + sudo docker image rm gabang2/ticats:latest + sudo docker pull gabang2/ticats:latest + sudo docker run -d -p 8080:8080 --name ticats ${{ secrets.ENVS }} gabang2/ticats:latest