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

Add v2 build

parent 0456a3f2
Branches
No related tags found
No related merge requests found
Pipeline #14512 failed
......@@ -3,6 +3,7 @@ stages:
- check_style
- test
- build
- build_v2
before_script:
- pip install tox==4.5.1
......@@ -42,3 +43,14 @@ build_image:
- docker image tag $DOCKERHUB_NAME $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE
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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment