From 62800d4f5487f71feec354e0c9c623cf27894161 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Sun, 21 Dec 2025 10:59:04 +0100 Subject: [PATCH] remove action cache --- .github/workflows/docker.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 95b28f46..cc4f2f51 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -13,6 +13,10 @@ on: workflow_dispatch: +defaults: + run: + working-directory: ./web + env: # Use docker.io for Docker Hub if empty REGISTRY: ghcr.io @@ -63,15 +67,15 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 + env: + NEXT_PUBLIC_POCKETBASE_URL: ${{ env.NEXT_PUBLIC_POCKETBASE_URL }} with: platforms: linux/amd64 - context: . - file: ./web/Dockerfile + context: ./web push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max + no-cache: true secrets: | "github_token=${{ secrets.GITHUB_TOKEN }}"