From 56afc2c7d4c0e7ede23c65959546bf95566c9f01 Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Tue, 14 Dec 2021 00:13:53 +0000 Subject: [PATCH] use correct path to buildx --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a5ae0f..2c5b8d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,12 +109,12 @@ build:docker-development: before_script: - echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin - - wget -O /usr/libexec/docker/cli-plugins/docker-buildx + - wget -O /usr/bin/docker-buildx https://github.com/docker/buildx/releases/download/${BUILDX_VERSION}/buildx-${BUILDX_VERSION}.${BUILDX_ARCH} - - chmod +x /usr/libexec/docker/cli-plugins/docker-buildx + - chmod +x /usr/bin/docker-buildx script: - - docker buildx create --use - - docker buildx build + - docker-buildx create --use + - docker-buildx build --platform linux/386,linux/amd64,linux/amd64,linux/arm/v7,linux/arm64/v8 --tag ${CI_REGISTRY_IMAGE}:test --push