Commit 2771f4a2 authored by Fabien FORESTIER's avatar Fabien FORESTIER
Browse files

Merge branch 'development' into 'master'

Adding build tag on jobs

See merge request !3
parents d9fb1634 9eaa08ec
Pipeline #6895 passed with stage
in 8 seconds
......@@ -7,6 +7,8 @@ variables:
sonarqube:
stage: sonar-analysis
tags:
- build
only:
- master
before_script:
......@@ -25,6 +27,8 @@ sonarqube:
build_development:
stage: build
tags:
- build
only:
- development
script:
......@@ -36,10 +40,12 @@ build_development:
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
- "curl -X POST -F token=$CI_JOB_TOKEN -F ref=master -F variables[TAG]=${TAG} https://forge.grandlyon.com/api/v4/projects/325/trigger/pipeline"
- 'curl -X POST -F token=$CI_JOB_TOKEN -F ref=master -F variables[TAG]=${TAG} https://forge.grandlyon.com/api/v4/projects/325/trigger/pipeline'
build_release:
stage: build
tags:
- build
only:
- tags
script:
......
Supports Markdown
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