Commit df8921f2 authored by Kevin Daudt's avatar Kevin Daudt

docker-image: specify arch for x86 build

parent 7a1fdce8
Pipeline #177 passed with stage
in 20 seconds
......@@ -10,6 +10,11 @@ stages:
script:
- docker build -t $CI_PROJECT_NAME:latest-$ARCH .
.build_with_arch:
stage: build
script:
- docker build --build-arg ARCH=$DOCKER_ARCH/ -t $CI_PROJECT_NAME:latest-$ARCH .
build-s390x:
extends: .build
variables:
......@@ -27,12 +32,13 @@ build-x86_64:
- x86_64
build-x86:
extends: .build
extends: .build_with_arch
image:
name: alpinelinux/docker-cli:latest-x86
entrypoint: ["linux32", "sh", "-c"]
variables:
ARCH: x86
DOCKER_ARCH: i386
tags:
- docker-alpine
- x86
......
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