From a54556ea344d22021d9484e7a3f88f9014945fe4 Mon Sep 17 00:00:00 2001 From: George Wilkinson Date: Fri, 7 Nov 2025 11:44:14 +0000 Subject: [PATCH 1/2] Remove arm64 build from ci.yml Ts takes too long man, QEMU SINGLE THREADED ARM64 BUILD !! --- .gitea/workflows/ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b1b8a77..036b30f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -19,9 +19,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -62,7 +59,7 @@ jobs: if: ${{ env.REGISTRY == '' }} run: | TAG_SHA=${{ steps.meta.outputs.short_sha }} - for P in linux/amd64 linux/arm64; do \ + for P in linux/amd64; do \ ARCH=${P#linux/}; \ docker buildx build \ --platform "$P" \ @@ -82,6 +79,4 @@ jobs: name: tonehaus-images path: | tonehaus-image-amd64.tar - tonehaus-image-arm64.tar - From d8353d45a169e9a6d9a8fc01916d97fd9d7e4710 Mon Sep 17 00:00:00 2001 From: George Wilkinson Date: Fri, 7 Nov 2025 11:52:32 +0000 Subject: [PATCH 2/2] Update .gitea/workflows/ci.yml --- .gitea/workflows/ci.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 036b30f..15f94f3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -38,23 +38,6 @@ jobs: run: | echo "$REGISTRY_PASSWORD" | docker login "$REGISTRY" -u "$REGISTRY_USERNAME" --password-stdin - - name: Build and push multi-arch image (if registry configured) - if: ${{ env.REGISTRY != '' && env.REGISTRY_IMAGE != '' }} - env: - REGISTRY: ${{ secrets.REGISTRY }} - REGISTRY_IMAGE: ${{ secrets.REGISTRY_IMAGE }} - run: | - TAG_SHA=${{ steps.meta.outputs.short_sha }} - docker buildx build \ - --platform "$PLATFORMS" \ - --file "$DOCKERFILE" \ - --target "$BUILD_TARGET" \ - --build-arg APP_ENV=prod \ - --tag "$REGISTRY/$REGISTRY_IMAGE:$TAG_SHA" \ - --tag "$REGISTRY/$REGISTRY_IMAGE:ci" \ - --push \ - . - - name: Build single-arch images for artifacts (no registry) if: ${{ env.REGISTRY == '' }} run: |