Alternative attempt to trigger next branch builds
This commit is contained in:
parent
f81815e789
commit
0c0f172782
@ -3,7 +3,6 @@ image: docker:latest
|
|||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- build-next
|
|
||||||
- build-test
|
- build-test
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
@ -38,19 +37,13 @@ x86_64: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}
|
||||||
|
- apt install -y curl && curl -X POST -F token=${CI_JOB_TOKEN} -F ref=ext ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- x86_64
|
- x86_64
|
||||||
only:
|
only:
|
||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
x86_64:build-next:
|
|
||||||
stage: build-next
|
|
||||||
script:
|
|
||||||
- curl -X POST -F token=${CI_JOB_TOKEN} -F ref=ext ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline
|
|
||||||
only:
|
|
||||||
- mysql
|
|
||||||
|
|
||||||
x86_64:build-test:
|
x86_64:build-test:
|
||||||
stage: build-test
|
stage: build-test
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user