Commit 9eaa08ec authored by Fabien Forestier's avatar Fabien Forestier
Browse files

Adding build tag on jobs

parent 82df000d
Pipeline #6893 passed with stage
in 17 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