From a0507ea5c602fce52149b2ee5fff7987ff402f53 Mon Sep 17 00:00:00 2001 From: Carlos Cruz Date: Thu, 18 Sep 2025 01:29:29 +0100 Subject: [PATCH] Fix Docker build loop issues - Build for single platform (linux/amd64) to eliminate multi-platform conflicts - Remove --no-cache flag from uv sync to enable proper caching - This should resolve the infinite loop behavior in Docker build --- .github/workflows/build-and-image.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-image.yaml b/.github/workflows/build-and-image.yaml index fdada7e..7b5d6e5 100644 --- a/.github/workflows/build-and-image.yaml +++ b/.github/workflows/build-and-image.yaml @@ -90,7 +90,7 @@ jobs: uses: docker/build-push-action@v5 with: context: ./bundle - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index 2b6e858..04b5b6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ WORKDIR /app COPY pyproject.toml uv.lock README.md ./ # Install Python dependencies -RUN uv sync --frozen --no-cache +RUN uv sync --frozen # Copy application code COPY app/ ./app/