Skip to content
Snippets Groups Projects
Commit 90e38c53 authored by Alexey Kuklin's avatar Alexey Kuklin
Browse files

Merge branch 'devops-change-builder' into 'master'

devops-change-builder

See merge request !61
parents 3a3032e5 efed206a
No related branches found
No related tags found
1 merge request!61devops-change-builder
Pipeline #27916 passed with stages
in 7 minutes and 19 seconds
image: docker:latest image: registry.vereign.com/docker/docker:master
services: services:
- docker:dind - registry.vereign.com/docker/docker:dind-master
stages: stages:
- build - build
...@@ -26,7 +26,7 @@ after_script: ...@@ -26,7 +26,7 @@ after_script:
ppc64le: ppc64le:
stage: build stage: build
tags: tags:
- ppc64le - ppc64le-docker
script: script:
- docker build --build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA --build-arg CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME --build-arg CI_PROJECT_NAME=$CI_PROJECT_NAME --build-arg GITLAB_LOGIN=gitlab-ci-token --build-arg GITLAB_PASSWORD=$CI_JOB_TOKEN --pull -t $IMAGE_ppc64le -f Dockerfile . - docker build --build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA --build-arg CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME --build-arg CI_PROJECT_NAME=$CI_PROJECT_NAME --build-arg GITLAB_LOGIN=gitlab-ci-token --build-arg GITLAB_PASSWORD=$CI_JOB_TOKEN --pull -t $IMAGE_ppc64le -f Dockerfile .
- docker push $IMAGE_ppc64le - docker push $IMAGE_ppc64le
...@@ -35,7 +35,7 @@ amd64: ...@@ -35,7 +35,7 @@ amd64:
variables: variables:
stage: build stage: build
tags: tags:
- amd64 - amd64-docker
script: script:
- docker build --build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA --build-arg CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME --build-arg CI_PROJECT_NAME=$CI_PROJECT_NAME --build-arg GITLAB_LOGIN=gitlab-ci-token --build-arg GITLAB_PASSWORD=$CI_JOB_TOKEN --pull -t $IMAGE_amd64 -f Dockerfile . - docker build --build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA --build-arg CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME --build-arg CI_PROJECT_NAME=$CI_PROJECT_NAME --build-arg GITLAB_LOGIN=gitlab-ci-token --build-arg GITLAB_PASSWORD=$CI_JOB_TOKEN --pull -t $IMAGE_amd64 -f Dockerfile .
- docker push $IMAGE_amd64 - docker push $IMAGE_amd64
...@@ -43,7 +43,7 @@ amd64: ...@@ -43,7 +43,7 @@ amd64:
manifest: manifest:
stage: manifest stage: manifest
tags: tags:
- amd64 - amd64-docker
script: script:
- docker manifest create $MANIFEST $IMAGE_amd64 $IMAGE_ppc64le - docker manifest create $MANIFEST $IMAGE_amd64 $IMAGE_ppc64le
- docker manifest annotate $MANIFEST $IMAGE_amd64 --os linux --arch amd64 - docker manifest annotate $MANIFEST $IMAGE_amd64 --os linux --arch amd64
......
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