From ccfdf0835ebcbed3f47afb74def0001b83886dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicklas=20K=C3=B6rtge?= Date: Thu, 19 Sep 2024 17:17:02 +0200 Subject: [PATCH] Update Github Actions (#17) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update github actions Signed-off-by: Nicklas Körtge * update github actions Signed-off-by: Nicklas Körtge --------- Signed-off-by: Nicklas Körtge --- .github/workflows/backend.yml | 7 +++++++ .github/workflows/frontend.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 61854f1e9..4e2fb1c7b 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -80,11 +80,18 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + # Add support for more platforms with QEMU (optional) + # https://github.com/docker/setup-qemu-action + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Build and push uses: docker/build-push-action@v5 with: context: . file: "./src/main/docker/Dockerfile.jvm" + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index afc10d2a2..98b9387bf 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -55,11 +55,18 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + # Add support for more platforms with QEMU (optional) + # https://github.com/docker/setup-qemu-action + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Build and push uses: docker/build-push-action@v5 with: context: "./frontend" file: "./frontend/docker/Dockerfile" + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}