Skip to content
Snippets Groups Projects
Commit 0abcdb5d authored by alex kuklin's avatar alex kuklin
Browse files

multiarch redefined

parent 436feaea
No related branches found
No related tags found
1 merge request!2X86
Pipeline #6989 canceled with stage
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -4,28 +4,28 @@ services:
stages:
- build
- build-x86
variables:
TEST_IMAGE: registry.vereign.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
RELEASE_IMAGE: registry.vereign.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:latest
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.vereign.com
build:
ppc64le:
variables:
IMAGE: registry.vereign.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_JOB_NAME:$CI_COMMIT_REF_NAME
stage: build
tags:
- hv2
- $CI_JOB_NAME
script:
- docker build --pull -t $TEST_IMAGE -f Dockerfile .
- docker push $TEST_IMAGE
- docker build --pull --build-arg ARCH=$CI_JOB_NAME -t $IMAGE -f Dockerfile .
- docker push $IMAGE
build:
stage: build-x86
amd64:
variables:
IMAGE: registry.vereign.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_JOB_NAME:$CI_COMMIT_REF_NAME
stage: build
tags:
- dell
- $CI_JOB_NAME
script:
- docker build --pull -t ${TEST_IMAGE}-x86 -f Dockerfile .
- docker push ${TEST_IMAGE}-x86
- docker build --pull --build-arg ARCH=$CI_JOB_NAME -t $IMAGE -f Dockerfile .
- docker push $IMAGE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment