From 7adaee10f3103602dfc3c0ec5c9146a7023796bb Mon Sep 17 00:00:00 2001 From: Drew Short Date: Tue, 13 Oct 2020 00:25:53 -0500 Subject: [PATCH] Parallelized the pipeline --- pipeline.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index e46b707..ab85ca3 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -6,14 +6,14 @@ resources: source: uri: https://git.nulloctet.com/docker/botamusique.git tag_filter: "*[0-9].*[0-9].*[0-9]" - - name: git-resource-image-nexus + - name: image-nexus type: docker-image icon: docker source: repository: ((nexus_docker_write.host))/sothr/botamusiqe username: ((nexus_docker_write.username)) password: ((nexus_docker_write.password)) - - name: git-resource-image + - name: image-dockerhub type: docker-image icon: docker source: @@ -22,17 +22,21 @@ resources: password: ((hub_docker_write.password)) jobs: - - name: build-image + - name: build-image-nexus plan: - get: git-resource trigger: true - - put: git-resource-image-nexus + - put: image-nexus params: build: git-resource tag_file: git-resource/.git/ref tag_as_latest: true get_params: {skip_download: true} - - put: git-resource-image + - name: build-image-dockerhub + plan: + - get: git-resource + trigger: true + - put: image-dockerhub params: build: git-resource tag_file: git-resource/.git/ref