Commit ddcc5d46 authored by Kevin Daudt's avatar Kevin Daudt

docker-image: explicitly provide DOCKER_ARCH for build jobs

We need to be able to provide both the docker arch naming standard as
the Alpine arch naming standard. When building on top of Alpine managed
images, the architecture name is different, so we need to be able to
specify that.
parent a8e01a9f
Pipeline #4376 passed with stage
in 34 seconds
......@@ -26,7 +26,11 @@ stages:
.build_with_arch:
extends: .build
script:
- docker build --no-cache --build-arg ARCH=$DOCKER_ARCH/ -t $CI_PROJECT_NAME:latest-$ARCH .
- >
docker build --no-cache
--build-arg DOCKER_ARCH=$DOCKER_ARCH/
--build-arg ALPINE_ARCH=-$ARCH
-t $CI_PROJECT_NAME:latest-$ARCH .
build-s390x:
extends: .build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment