install buildx as cli plugin

This commit is contained in:
Kai Kriegel 2021-12-14 00:11:10 +00:00
parent b4d7bee801
commit 8f4cf74819

View File

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