From cef3cd445c6ff3c03e26aa1ec53e7ce9b1978f95 Mon Sep 17 00:00:00 2001 From: Swann Date: Thu, 2 Dec 2021 16:07:17 +0100 Subject: [PATCH] fix buildx --- .gitlab/ci/build-image.gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/build-image.gitlab-ci.yml b/.gitlab/ci/build-image.gitlab-ci.yml index aa92fd5..1de7da7 100644 --- a/.gitlab/ci/build-image.gitlab-ci.yml +++ b/.gitlab/ci/build-image.gitlab-ci.yml @@ -23,7 +23,7 @@ build-amd64: build-arm64: stage: build-arm64 needs: ["build-addon-zip"] - image: docker/buildx-bin + image: slumber/docker-python variables: DOCKER_DRIVER: overlay2 DOCKER_TLS_CERTDIR: "/certs" @@ -31,7 +31,13 @@ build-arm64: services: - docker:19.03.12-dind - + before_script: + - apk add curl + - mkdir -p ~/.docker/cli-plugins + - curl -sSLo ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/$BUILDX_VERSION/buildx-$BUILDX_VERSION.linux-amd64 + - chmod +x ~/.docker/cli-plugins/docker-buildx + - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + - docker info script: - RP_VERSION="$(python scripts/get_replication_version.py)" - VERSION="$(python scripts/get_addon_version.py)"