Skip to content

Commit

Permalink
remove docker image when deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dh28be committed May 31, 2024
1 parent 1922628 commit bb63916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/testAndDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
git pull || exit 1
docker stop unist-meal-backend || exit 1
docker container rm unist-meal-backend || exit 1
docker rmi unist-meal-backend:latest || exit 1
docker build -t unist-meal-backend:latest . || exit 1
docker run -d --name unist-meal-backend --net host -e TZ=Asia/Seoul \
-e DATABASE_URL=${{ secrets.DATABASE_URL }} \
Expand Down

0 comments on commit bb63916

Please sign in to comment.