Skip to content

Commit 7d70f32

Browse files
authored
Merge pull request #8 from f-code-club/fix/remove-old-image
fix(docker): remove old image when deploy
2 parents 9cfe922 + 34b34f2 commit 7d70f32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
password: ${{ secrets.GITHUB_TOKEN }}
6161

6262
- name: Clean container and image
63-
run: docker compose -f compose.yaml -p fcode-discord-bot down -v
63+
run: docker compose -f compose.yaml -p blood-donation-system down --rmi all -v
6464

6565
- name: Deploy
66-
run: docker compose -f compose.yaml -p fcode-discord-bot up -d --pull always
66+
run: docker compose -f compose.yaml -p fcode-discord-bot up -d

0 commit comments

Comments
 (0)