Skip to content

Commit

Permalink
Completely disable caching when building Docker images in deploy-to-v…
Browse files Browse the repository at this point in the history
…ps.yml
  • Loading branch information
Mega-JC committed Jul 28, 2024
1 parent 7d33b87 commit 6e0c8f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-to-vps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ jobs:
docker compose stop
docker compose rm -f
sleep 60
docker compose up -d --build
docker compose build --no-cache
docker compose up -d
docker image prune -af
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ services:
build:
context: .
dockerfile: Dockerfile
no_cache: true
tty: true
volumes:
- /mnt/blockstorage:/mnt/blockstorage

0 comments on commit 6e0c8f6

Please sign in to comment.