From 5bbe2593fe24d74b175f342e70e35dd7d4c1d609 Mon Sep 17 00:00:00 2001 From: Anghelo Flores Date: Tue, 3 Mar 2026 11:27:00 -0500 Subject: [PATCH 1/2] fix: timeout SSH 30min y cache de capas Docker en CI --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 414395c..015ad04 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,6 +40,8 @@ jobs: with: context: ./back push: true + cache-from: type=gha + cache-to: type=gha,mode=max tags: | ${{ env.BACKEND_IMAGE }}:latest ${{ env.BACKEND_IMAGE }}:${{ github.sha }} @@ -49,6 +51,8 @@ jobs: with: context: ./front push: true + cache-from: type=gha + cache-to: type=gha,mode=max build-args: | VITE_API_URL=/api tags: | @@ -69,6 +73,7 @@ jobs: username: ${{ secrets.VPS_USER }} key: ${{ secrets.VPS_SSH_KEY }} port: ${{ secrets.VPS_PORT || 22 }} + command_timeout: 30m script: | cd ${{ secrets.VPS_PROJECT_PATH }} From d243a55fc00d748295bfa992181cccab704292f4 Mon Sep 17 00:00:00 2001 From: Anghelo Flores Date: Tue, 3 Mar 2026 11:32:50 -0500 Subject: [PATCH 2/2] fix: agregar setup-buildx para habilitar cache GHA --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 015ad04..44c8ab6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,6 +28,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: