From 0f01d025b8e8596cdf5a6a06b51ae80ad10aff95 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Tue, 7 Apr 2026 11:13:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20replace=20Buil?= =?UTF-8?q?dx=20with=20traditional=20docker=20build/push=20for=20reliabili?= =?UTF-8?q?ty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci-cd.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index 5d786b4..180db6c 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -114,9 +114,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.PACKAGES_TOKEN }} - - name: Set up Docker Buildx - if: steps.check_cache.outputs.cache_hit == 'false' - uses: docker/setup-buildx-action@v3 + - name: Build and push Docker cache image if: steps.check_cache.outputs.cache_hit == 'false' @@ -124,11 +122,14 @@ jobs: IMAGE_NAME="${{ env.CI_REGISTRY }}/${{ env.GITEA_ORG }}/${{ env.GITEA_REPO }}-build-cache:${{ steps.calculate_hash.outputs.deps_hash }}" echo "Building cache image: $IMAGE_NAME" - docker buildx build \ + # Build the image using traditional docker build + docker build \ --file Dockerfile.build \ --tag "$IMAGE_NAME" \ - --push \ . + + # Push the image + docker push "$IMAGE_NAME" echo "✅ Build cache image pushed successfully"