From d123444021b01864130a89b1917007fc063e6a2e Mon Sep 17 00:00:00 2001 From: Javier Torres Date: Wed, 9 Jul 2025 13:15:27 +0200 Subject: [PATCH 1/2] Try build arm64 image --- .github/workflows/release.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e8cd2362c7..044c11b9d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,7 @@ name: PyPI and Helm Releases on: workflow_call: + pull_request: env: GCP_WORKLOAD_IDENTITY_PROVIDER: "projects/224545243904/locations/global/workloadIdentityPools/gh-nuclia/providers/gh-nuclia-provider" @@ -89,14 +90,17 @@ jobs: push-docker: name: Build public docker image - runs-on: ubuntu-24.04 + runs-on: ${{ matrix.runner }} strategy: fail-fast: false matrix: - include: - - image: nucliadb + runner: + - ubuntu-24.04 + - ubuntu-24.04-arm + image: + - name: nucliadb dockerfile: Dockerfile.withbinding - - image: nidx + - name: nidx dockerfile: Dockerfile.nidx steps: @@ -130,12 +134,12 @@ jobs: uses: docker/build-push-action@v4 with: context: . - file: ${{ matrix.dockerfile }} - push: true + file: ${{ matrix.image.dockerfile }} + push: false tags: | - nuclia/${{ matrix.image }}:latest - nuclia/${{ matrix.image }}:${{ steps.version_step.outputs.version_number }} - nuclia/${{ matrix.image }}:${{ steps.version_step.outputs.hash }} + nuclia/${{ matrix.image.name }}:latest + nuclia/${{ matrix.image.name }}:${{ steps.version_step.outputs.version_number }} + nuclia/${{ matrix.image.name }}:${{ steps.version_step.outputs.hash }} cache-from: type=gha cache-to: type=gha,mode=min From a06a836528c2e2b223e472b5ee9abf85d11c7f77 Mon Sep 17 00:00:00 2001 From: Javier Torres Date: Wed, 9 Jul 2025 13:24:22 +0200 Subject: [PATCH 2/2] Undo try cheats --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 044c11b9d0..413b0ada0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,6 @@ name: PyPI and Helm Releases on: workflow_call: - pull_request: env: GCP_WORKLOAD_IDENTITY_PROVIDER: "projects/224545243904/locations/global/workloadIdentityPools/gh-nuclia/providers/gh-nuclia-provider" @@ -135,7 +134,7 @@ jobs: with: context: . file: ${{ matrix.image.dockerfile }} - push: false + push: true tags: | nuclia/${{ matrix.image.name }}:latest nuclia/${{ matrix.image.name }}:${{ steps.version_step.outputs.version_number }}