From d301ba81f32b32ad22c9ad04b0066ce5ec2e7bb5 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Thu, 25 Mar 2021 10:43:05 -0400 Subject: [PATCH] Add custom builder image to buildx action Also added debug to list architectures for buildx. Needless to say, the buildx action is super flakey (as evidenced by a change to the README breaking the entire build somehow). --- .github/workflows/buildx.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/buildx.yml b/.github/workflows/buildx.yml index 47fc086..11de639 100644 --- a/.github/workflows/buildx.yml +++ b/.github/workflows/buildx.yml @@ -21,6 +21,8 @@ jobs: docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - name: build and push the image run: | + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + docker buildx ls docker buildx build --push \ --tag benbusby/whoogle-search:buildx-experimental \ --platform linux/amd64,linux/arm/v7,linux/arm64 .