Commit 809428be authored by Kevin Daudt's avatar Kevin Daudt

docker-image: add support for x86

As x86 will be run on x86_64 hosts, we need to be specific to select the
x86 docker image.
parent 8b902377
Pipeline #171 passed with stage
in 22 seconds
......@@ -26,6 +26,15 @@ build-x86_64:
- docker-alpine
- x86_64
build-x86:
extends: .build
image: alpinelinux/docker-cli:latest-x86
variables:
ARCH: x86
tags:
- docker-alpine
- x86
.upload:
stage: upload
only:
......@@ -59,6 +68,16 @@ upload-x86_64:
- docker-alpine
- x86_64
upload-x86:
extends: .build
image: alpinelinux/docker-cli:latest-x86
extends: .upload
variables:
ARCH: x86
tags:
- docker-alpine
- x86
create-manifest:
stage: manifest
variables:
......@@ -76,10 +95,12 @@ create-manifest:
$DOCKER_NAMESPACE/$CI_PROJECT_NAME:latest-
s390x
x86_64
x86
- >
if [ -n "$CI_COMMIT_TAG" ]; then
docker-push-manifest $DOCKER_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_TAG
$DOCKER_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_TAG-
s390x
x86_64;
x86
fi
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