From 2339f1752a453723bf859d48be454c7142ba1839 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Tue, 19 Sep 2023 11:00:40 +0200 Subject: [PATCH] =?UTF-8?q?CI:=20build=20&=20publish=20arm64=20binaries=20?= =?UTF-8?q?=F0=9F=92=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v5 equivalent: 76c5885 --- .github/workflows/docker-image.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e7e993f..291db07 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -26,6 +26,8 @@ jobs: steps: - name: check out the repo uses: actions/checkout@v3 + - name: set up QEMU + uses: docker/setup-qemu-action@v3 - name: configure Docker to use buildx uses: docker/setup-buildx-action@v2 - name: log in to Docker Hub @@ -38,6 +40,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: | derhuerst/db-rest:6 derhuerst/db-rest:latest @@ -63,6 +66,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: ghcr.io/${{github.repository}}:v6_${{steps.hash.outputs.hash}}_${{steps.datetime.outputs.datetime}} # https://docs.docker.com/build/ci/github-actions/examples/#github-cache cache-from: type=gha