Skip to content
Snippets Groups Projects
Commit d5f7a591 authored by Paweł Walkowiak's avatar Paweł Walkowiak
Browse files

Add v2 build

parent 0456a3f2
No related merge requests found
Pipeline #14512 failed with stages
in 49 seconds
......@@ -3,6 +3,7 @@ stages:
- check_style
- test
- build
- build_v2
before_script:
- pip install tox==4.5.1
......@@ -41,4 +42,15 @@ build_image:
- docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
- docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE
\ No newline at end of file
build_v2:
stage: build_v2
image: 'docker:18.09.7'
only:
- v2
services:
- 'docker:18.09.7-dind'
script:
- docker build -t $CI_REGISTRY_IMAGE:v2 .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE:v2
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