mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-23 23:27:57 +01:00
use correct path to buildx
This commit is contained in:
parent
8f4cf74819
commit
56afc2c7d4
@ -109,12 +109,12 @@ build:docker-development:
|
|||||||
before_script:
|
before_script:
|
||||||
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username
|
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username
|
||||||
$CI_REGISTRY_USER --password-stdin
|
$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}
|
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:
|
script:
|
||||||
- docker buildx create --use
|
- docker-buildx create --use
|
||||||
- docker buildx build
|
- docker-buildx build
|
||||||
--platform linux/386,linux/amd64,linux/amd64,linux/arm/v7,linux/arm64/v8
|
--platform linux/386,linux/amd64,linux/amd64,linux/arm/v7,linux/arm64/v8
|
||||||
--tag ${CI_REGISTRY_IMAGE}:test
|
--tag ${CI_REGISTRY_IMAGE}:test
|
||||||
--push
|
--push
|
||||||
|
Loading…
Reference in New Issue
Block a user