diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45787298255ff2b79611b7dbf40fa6bcf76f639c..90ebd3dfa64ba81b3e24622f6d66e49224a74043 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,8 @@ variables: sonarqube: stage: sonar-analysis + tags: + - build only: - master before_script: @@ -32,10 +34,10 @@ build_development: script: - export TAG=$CI_COMMIT_SHORT_SHA - export PROXY_QUERY_BIND_PORT=9002 - - docker-compose build + - 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/336/trigger/pipeline" + - 'curl -X POST -F token=$CI_JOB_TOKEN -F ref=master -F variables[TAG]=${TAG} https://forge.grandlyon.com/api/v4/projects/336/trigger/pipeline' build_release: stage: build @@ -48,4 +50,4 @@ build_release: - export PROXY_QUERY_BIND_PORT=9002 - docker-compose build - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker-compose push \ No newline at end of file + - docker-compose push