fix buildx

This commit is contained in:
Swann 2021-12-02 16:07:17 +01:00
parent 2b205c4b62
commit cef3cd445c

View File

@ -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)"