mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
ci: Attempt fixing cross-platform builds
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
This commit is contained in:
parent
b3259355b5
commit
a83dd6e495
1 changed files with 1 additions and 8 deletions
|
@ -159,17 +159,10 @@ pkg:docker:
|
|||
stage: packaging
|
||||
image: docker:20.10
|
||||
before_script:
|
||||
- mkdir -p ~/.docker/cli-plugins/
|
||||
- wget -O ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.6.3/buildx-v0.6.3.linux-amd64
|
||||
- chmod a+x ~/.docker/cli-plugins/docker-buildx
|
||||
- docker buildx create --use --name cross-platform-build --buildkitd-flags "--allow-insecure-entitlement security.insecure"
|
||||
- docker buildx inspect --bootstrap cross-platform-build
|
||||
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
|
||||
script:
|
||||
- docker buildx build ${DOCKER_OPTS}
|
||||
- docker build ${DOCKER_OPTS}
|
||||
--pull
|
||||
--allow security.insecure
|
||||
--output type=docker
|
||||
--target ${TARGET}
|
||||
--build-arg ARCH=${ARCH}
|
||||
--build-arg TRIPLET=${TRIPLET}
|
||||
|
|
Loading…
Add table
Reference in a new issue