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

Add v1 build

parent 9f1dc0ad
No related merge requests found
Pipeline #14510 passed with stages
in 1 minute and 45 seconds
......@@ -10,6 +10,7 @@ stages:
- pages
- build_master
- build_develop
- build_v1
pep8:
stage: check_style
......@@ -52,6 +53,7 @@ pages:
build_develop:
except:
- master
- v1
stage: build_develop
image: docker:18.09.7
services:
......@@ -73,3 +75,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
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