From 0270f73f4fce820c07d7167e15cbc250977e7b0f Mon Sep 17 00:00:00 2001 From: Tom Winter Date: Wed, 5 Jun 2024 11:41:52 +0200 Subject: [PATCH 1/2] feat: add linux/arm64 platform as build target --- .github/workflows/aam-backend-service-build-and-publish-pr.yml | 2 +- .github/workflows/aam-backend-service-build-and-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/aam-backend-service-build-and-publish-pr.yml b/.github/workflows/aam-backend-service-build-and-publish-pr.yml index b7565b2..c7b7051 100644 --- a/.github/workflows/aam-backend-service-build-and-publish-pr.yml +++ b/.github/workflows/aam-backend-service-build-and-publish-pr.yml @@ -39,7 +39,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v5 with: - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 context: ./application/aam-backend-service push: true tags: ghcr.io/aam-digital/aam-backend-service:pr-${{ github.event.number }} diff --git a/.github/workflows/aam-backend-service-build-and-publish.yml b/.github/workflows/aam-backend-service-build-and-publish.yml index 8f5a6b1..b78f396 100644 --- a/.github/workflows/aam-backend-service-build-and-publish.yml +++ b/.github/workflows/aam-backend-service-build-and-publish.yml @@ -41,7 +41,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v5 with: - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 context: ./application/aam-backend-service push: true tags: ghcr.io/aam-digital/aam-backend-service:${{ env.TAG_VERSION }},ghcr.io/aam-digital/aam-backend-service:latest From 4bd89fc6e37d24ace4391a22d58aa0e37271228b Mon Sep 17 00:00:00 2001 From: Tom Winter Date: Wed, 5 Jun 2024 11:47:10 +0200 Subject: [PATCH 2/2] feat: add linux/arm64 platform as build target --- .../workflows/aam-backend-service-build-and-publish-pr.yml | 6 ++++++ .github/workflows/aam-backend-service-build-and-publish.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/aam-backend-service-build-and-publish-pr.yml b/.github/workflows/aam-backend-service-build-and-publish-pr.yml index c7b7051..bba98c9 100644 --- a/.github/workflows/aam-backend-service-build-and-publish-pr.yml +++ b/.github/workflows/aam-backend-service-build-and-publish-pr.yml @@ -29,6 +29,12 @@ jobs: working-directory: application/aam-backend-service run: ./gradlew installDist + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: diff --git a/.github/workflows/aam-backend-service-build-and-publish.yml b/.github/workflows/aam-backend-service-build-and-publish.yml index b78f396..e45b1ec 100644 --- a/.github/workflows/aam-backend-service-build-and-publish.yml +++ b/.github/workflows/aam-backend-service-build-and-publish.yml @@ -26,6 +26,12 @@ jobs: working-directory: application/aam-backend-service run: ./gradlew installDist + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: