From cb1d926fc47157853113ce93a990eef114e86e36 Mon Sep 17 00:00:00 2001 From: "cartsnitch-engineer[bot]" <269717931+cartsnitch-engineer[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2026 06:48:36 +0000 Subject: [PATCH 1/2] fix: add no-cache to docker build-push-action to prevent stale nginx config cache (CAR-265) Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17b7b06..f3bbd39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,6 +102,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} target: prod + no-cache: true - name: Create git tag if: github.event_name == 'push' && github.ref == 'refs/heads/main' From fc99e8a82e148f86fa92ed21129ab94685057d7b Mon Sep 17 00:00:00 2001 From: Deploy Debbie Date: Wed, 25 Mar 2026 07:14:05 +0000 Subject: [PATCH 2/2] ci: replace no-cache with GHA cache + remove Docker Hub login (CAR-272, CAR-273) Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3bbd39..9e94f07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,12 +70,6 @@ jobs: echo "version=$VERSION" >> "$GITHUB_OUTPUT" echo "CalVer tag: $VERSION" - - name: Log in to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Log in to GHCR if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: docker/login-action@v3 @@ -102,7 +96,8 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} target: prod - no-cache: true + cache-from: type=gha + cache-to: type=gha,mode=max - name: Create git tag if: github.event_name == 'push' && github.ref == 'refs/heads/main'