From 48f8e5d2263d4c0ccd08617d3fa35059a7b7a8a8 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Tue, 13 Oct 2020 00:25:28 -0500 Subject: [PATCH] Parallelized the pipeline --- pipeline.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index 6f9ef16..cae435b 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -6,14 +6,14 @@ resources: source: uri: https://git.nulloctet.com/docker/mumble.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/mumble username: ((nexus_docker_write.username)) password: ((nexus_docker_write.password)) - - name: git-resource-image + - name: image-dockerhub type: docker-image icon: docker source: @@ -22,7 +22,7 @@ resources: password: ((hub_docker_write.password)) jobs: - - name: build-image + - name: build-image-nexus plan: - get: git-resource trigger: true @@ -32,6 +32,10 @@ jobs: tag_file: git-resource/.git/ref tag_as_latest: true get_params: {skip_download: true} + - name: build-image-dockerhub + plan: + - get: git-resource + trigger: true - put: git-resource-image params: build: git-resource