Moved trigger to build
This commit is contained in:
parent
abe95e8fd8
commit
cb74c9599b
@ -3,7 +3,6 @@ image: docker:latest
|
|||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- deploy
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
VERSION: 1.12a39-${CI_COMMIT_REF_NAME}
|
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 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}:${VERSION}
|
||||||
- docker push ${CI_REGISTRY_IMAGE}:${CACHETAG}
|
- 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:
|
tags:
|
||||||
- docker-armv7l
|
- docker-armv7l
|
||||||
only:
|
only:
|
||||||
- armv7l
|
- 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
|
|
||||||
|
Reference in New Issue
Block a user