From 74f6a255a8b52692ad33bb3ca2174f4ba78575d9 Mon Sep 17 00:00:00 2001 From: Steven Tang Date: Fri, 9 Jul 2021 16:17:50 +1000 Subject: [PATCH] feat: build/push arm64 Docker image --- .github/workflows/docker.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8dc07c4..632817d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,6 +14,9 @@ jobs: - name: Get version run: echo "GIT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -38,6 +41,7 @@ jobs: tags: | n1try/wakapi:${{ env.GIT_TAG }} n1try/wakapi:latest + platforms: linux/amd64,linux/arm64 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache @@ -49,5 +53,6 @@ jobs: tags: | n1try/wakapi:${{ env.GIT_TAG }}-alpine n1try/wakapi:latest-alpine + platforms: linux/amd64,linux/arm64 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache