From 0ed9c010b72d49e9d6abacf26122a37f6f15adf6 Mon Sep 17 00:00:00 2001 From: Ludovic DEHON Date: Fri, 8 Dec 2023 14:19:46 +0100 Subject: [PATCH] feat(docker): add support for arm64 --- .github/workflows/packages-scheduled-update.yml | 7 +++++++ .github/workflows/packages.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/packages-scheduled-update.yml b/.github/workflows/packages-scheduled-update.yml index fcf1d2e..ccd6a6e 100644 --- a/.github/workflows/packages-scheduled-update.yml +++ b/.github/workflows/packages-scheduled-update.yml @@ -28,6 +28,12 @@ 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 + - name: GHCR Login uses: docker/login-action@v3 with: @@ -48,3 +54,4 @@ jobs: push: true tags: ${{ steps.image-tag.outputs.image_url }} file: ${{ steps.image-tag.outputs.file }} + platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 1ea984b..fc3ed14 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -42,6 +42,12 @@ 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 + - name: GHCR Login uses: docker/login-action@v3 with: @@ -62,3 +68,4 @@ jobs: push: true tags: ${{ steps.image-tag.outputs.image_url }} file: ${{ steps.image-tag.outputs.file }} + platforms: linux/amd64,linux/arm64