Moved trigger to build

This commit is contained in:
Deon George 2018-09-03 09:43:01 +10:00
parent abe95e8fd8
commit cb74c9599b

View File

@ -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