From 756a50d05408b806f8b05cb0a81071f38a99f95f Mon Sep 17 00:00:00 2001 From: Kashif Sohail Date: Sun, 12 Dec 2021 19:33:46 +0500 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index a6b02089..fb39160e 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,4 +31,6 @@ jobs: - name: Run Buildx (push image) if: success() run: | - docker buildx build --platform ${{ steps.prepare.outputs.docker_platform }} --tag ksfhse/dashy:latest --file ./docker/Dockerfile-multi-arch --output type=image,push=true . + docker buildx build --platform ${{ steps.prepare.outputs.docker_platform }} --tag kshfse/dashy:latest --build-arg TARGETPLATFORM=${{TARGETPLATFORM}} --file ./docker/Dockerfile-multi-arch --output type=image,push=true . + + docker buildx build --platform ${{ steps.prepare.outputs.docker_platform }} --tag kshfse/dashy:latest --build-arg TARGETPLATFORM=linux/arm64 --file ./docker/Dockerfile-multi-arch --output type=image,push=true .