From cb74c9599b43af6f034f90f6fe8d55870fea0463 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 3 Sep 2018 09:43:01 +1000 Subject: [PATCH] Moved trigger to build --- .gitlab-ci.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5b78e5..031b43f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,6 @@ image: docker:latest stages: - test - build -- deploy variables: VERSION: 1.12a39-${CI_COMMIT_REF_NAME} @@ -38,16 +37,8 @@ build: - docker build --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} . - docker push ${CI_REGISTRY_IMAGE}:${VERSION} - docker push ${CI_REGISTRY_IMAGE}:${CACHETAG} + - curl -X POST -F token=2512db34f1e84a7486ef174dd7147e -F ref=armv7l-extras http://dev.leenooks.net/api/v4/projects/45/trigger/pipeline tags: - docker-armv7l only: - armv7l - -trigger_build: - stage: deploy - script: - - "curl -X POST -F token=2512db34f1e84a7486ef174dd7147e -F ref=armv7l-extras http://dev.leenooks.net/api/v4/projects/45/trigger/pipeline" - tags: - - docker - only: - - armv7l