Commit 28a41510 authored by Anthony Sonrel's avatar Anthony Sonrel
Browse files

replace trigger by rule

parent 64122e2a
Pipeline #224231 passed with stages
in 2 minutes and 27 seconds
......@@ -39,8 +39,8 @@ default:
update_build:
stage: build
image: docker:stable
only:
- triggers
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline" && $CI_UPSTREAM_PROJECT == "anthony.sonrel/orchestrator-test"'
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN http://$CI_REGISTRY
script:
......@@ -54,8 +54,8 @@ run_udpate:
image:
name: ${CI_REGISTRY_IMAGE}:latest
entrypoint: [""]
only:
- triggers
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline" && $CI_UPSTREAM_PROJECT == "anthony.sonrel/orchestrator-test"'
before_script:
- git config --global user.name "Anthony Sonrel"
- git config --global user.email "anthony.sonrel@uzh.ch"
......
Markdown is supported
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