From bae36ccb35fe4d3d46a94078e601444660dc6fc3 Mon Sep 17 00:00:00 2001 From: Alberto Xamin Date: Tue, 29 Jun 2021 14:51:28 +0200 Subject: [PATCH] fix dev image compilation --- .github/workflows/dev-image.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev-image.yml b/.github/workflows/dev-image.yml index 4ceaf2e..682b03a 100644 --- a/.github/workflows/dev-image.yml +++ b/.github/workflows/dev-image.yml @@ -23,12 +23,22 @@ jobs: restore-keys: | ${{ runner.os }}-buildx- - - name: Docker Buildx (build amd64 arm64) + name: Docker Buildx (build amd64) run: | docker buildx build \ --cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \ - --platform linux/amd64,linux/arm64 \ + --platform linux/amd64 \ + --output "type=image,push=false" \ + --tag albertoxamin/bang:dev \ + --file ./Dockerfile ./ + - + name: Docker Buildx (build arm64) + run: | + docker buildx build \ + --cache-from "type=local,src=/tmp/.buildx-cache" \ + --cache-to "type=local,dest=/tmp/.buildx-cache" \ + --platform linux/arm64 \ --output "type=image,push=false" \ --tag albertoxamin/bang:dev \ --file ./Dockerfile ./