From d75693ed6c3ca10346a314fe8fb9de320b98fc27 Mon Sep 17 00:00:00 2001 From: "sebastian@vanwa.ch" Date: Tue, 11 Jun 2019 10:31:16 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d853262..030eb9f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,12 @@ +image: alpine:3.9 + services: - docker:dind +stages: + - build + - trigger + variables: IMAGE_NAME: thallian/alpine-s6 @@ -18,7 +24,9 @@ build: - docker push $IMAGE_NAME:latest trigger: + stage: trigger script: + - apk --no-cache add curl - | for TRIGGER in $(echo $TRIGGERS | tr [:space:] ' '); do curl -fs -X POST -F ref=master -F token=${TRIGGER#*:} $CI_API_V4_URL/projects/${TRIGGER%:*}/trigger/pipeline > /dev/null