fix: Remove unnecessary flag "--no-cache" from docker build command

This commit is contained in:
Gauthier Daniels 2025-04-21 19:28:30 +02:00
parent 1982349a3a
commit 25876a9a27

View File

@ -41,7 +41,7 @@ jobs:
VPS_PATH: ${{ secrets.VPS_PATH }}
VPS_PORT: ${{ secrets.VPS_PORT }}
run: |
ssh -i ~/.ssh/id_ed25519 -p $VPS_PORT $VPS_USER@$VPS_HOST "cd $VPS_PATH && COMPOSE_BAKE=true docker compose -f compose.prod.yml build --no-cache"
ssh -i ~/.ssh/id_ed25519 -p $VPS_PORT $VPS_USER@$VPS_HOST "cd $VPS_PATH && COMPOSE_BAKE=true docker compose -f compose.prod.yml build"
echo "📦 The application have been builded on the VPS."
- name: Start the application