From 8f4cf7481982d68596c2ba9eaff3d5b417b76667 Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Tue, 14 Dec 2021 00:11:10 +0000 Subject: [PATCH] install buildx as cli plugin --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 50a34f3..5a5ae0f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -109,9 +109,9 @@ build:docker-development: before_script: - echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin - # - wget -O /usr/bin/docker-buildx - # https://github.com/docker/buildx/releases/download/${BUILDX_VERSION}/buildx-${BUILDX_VERSION}.${BUILDX_ARCH} - # - chmod +x /usr/bin/docker-buildx + - wget -O /usr/libexec/docker/cli-plugins/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 script: - docker buildx create --use - docker buildx build