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

Add v1 build

parent 2af3ff05
Branches v1
No related tags found
No related merge requests found
Pipeline #14509 passed
......@@ -10,6 +10,7 @@ stages:
- pages
- build_master
- build_develop
- build_v1
pep8:
stage: check_style
......@@ -53,6 +54,7 @@ pages:
build_develop:
except:
- master
- v1
stage: build_develop
image: docker:18.09.7
services:
......@@ -74,3 +76,16 @@ build_master:
- docker build -t $CI_REGISTRY_IMAGE:latest .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE:latest
build_v1:
stage: build_v1
image: 'docker:18.09.7'
only:
- v1
services:
- 'docker:18.09.7-dind'
script:
- docker build -t $CI_REGISTRY_IMAGE:v1 .
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE:v1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment