From 646c369c2090f8f88b0f19edf5d634fe4246b663 Mon Sep 17 00:00:00 2001 From: codefresh Date: Tue, 20 Jul 2021 18:56:27 +0300 Subject: [PATCH 1/5] add image build to quay --- codefresh.yaml | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/codefresh.yaml b/codefresh.yaml index 5624013..ebd6576 100644 --- a/codefresh.yaml +++ b/codefresh.yaml @@ -45,28 +45,45 @@ steps: dockerfile: "Dockerfile" stage: "build" - push_with_tag: - stage: 'push' + + + +PushingToRegistries: + title: Pushing to Registry type: push - title: Pushing to a registry candidate: ${{build}} tags: - ${{CF_BRANCH_TAG_NORMALIZED}} - registry: dockerhub - image_name: codefresh/cf-argo-plugin + scale: + PushingToDockerHubRegistry: + title: Pushing To DockerHub Registry + registry: dockerhub + image_name: codefresh/cf-argo-plugin + PushingToQuayRegistry: + title: Pushing To Quay Registry + registry: cfpluginmgr-quay + image_name: codefreshplugins/cf-argo-plugin - push_to_my_registry: - stage: 'push' + + PushingToRegistries: + title: Pushing to Registry type: push - title: Pushing to a registry candidate: ${{build}} tags: - ${{VERSION}} - registry: dockerhub - image_name: codefresh/cf-argo-plugin when: branch: only: - master + scale: + PushingToDockerHubRegistry: + title: Pushing To DockerHub Registry + registry: dockerhub + image_name: codefresh/cf-argo-plugin + PushingToQuayRegistry: + title: Pushing To Quay Registry + registry: cfpluginmgr-quay + image_name: codefreshplugins/cf-argo-plugin + From 4b1a5e961cd335ddb0810e0917a062f7520011cf Mon Sep 17 00:00:00 2001 From: codefresh Date: Tue, 20 Jul 2021 18:59:50 +0300 Subject: [PATCH 2/5] header naming change --- codefresh.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codefresh.yaml b/codefresh.yaml index ebd6576..816fbfd 100644 --- a/codefresh.yaml +++ b/codefresh.yaml @@ -48,7 +48,7 @@ steps: -PushingToRegistries: +PushingToRegistries_with_tag: title: Pushing to Registry type: push candidate: ${{build}} From f042016bd945e4805f4578ed7615df3e232de344 Mon Sep 17 00:00:00 2001 From: codefresh Date: Tue, 20 Jul 2021 19:03:12 +0300 Subject: [PATCH 3/5] add quay.io --- codefresh.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codefresh.yaml b/codefresh.yaml index 816fbfd..16b2ff3 100644 --- a/codefresh.yaml +++ b/codefresh.yaml @@ -62,7 +62,7 @@ PushingToRegistries_with_tag: PushingToQuayRegistry: title: Pushing To Quay Registry registry: cfpluginmgr-quay - image_name: codefreshplugins/cf-argo-plugin + image_name: quay.io/codefreshplugins/cf-argo-plugin PushingToRegistries: @@ -83,7 +83,7 @@ PushingToRegistries_with_tag: PushingToQuayRegistry: title: Pushing To Quay Registry registry: cfpluginmgr-quay - image_name: codefreshplugins/cf-argo-plugin + image_name: quay.io/codefreshplugins/cf-argo-plugin From fb9edc8ee37663c3b00c6dd7411e44c6d9833b53 Mon Sep 17 00:00:00 2001 From: codefresh Date: Tue, 20 Jul 2021 19:13:54 +0300 Subject: [PATCH 4/5] test --- codefresh.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codefresh.yaml b/codefresh.yaml index 16b2ff3..9ee1c40 100644 --- a/codefresh.yaml +++ b/codefresh.yaml @@ -62,7 +62,7 @@ PushingToRegistries_with_tag: PushingToQuayRegistry: title: Pushing To Quay Registry registry: cfpluginmgr-quay - image_name: quay.io/codefreshplugins/cf-argo-plugin + image_name: cf-argo-plugin PushingToRegistries: @@ -83,7 +83,7 @@ PushingToRegistries_with_tag: PushingToQuayRegistry: title: Pushing To Quay Registry registry: cfpluginmgr-quay - image_name: quay.io/codefreshplugins/cf-argo-plugin + image_name: cf-argo-plugin From d5c1a0a56a5ce8f919dfa6ad5e35da8c8ba3e61c Mon Sep 17 00:00:00 2001 From: codefresh Date: Tue, 20 Jul 2021 19:17:30 +0300 Subject: [PATCH 5/5] test --- codefresh.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codefresh.yaml b/codefresh.yaml index 9ee1c40..816fbfd 100644 --- a/codefresh.yaml +++ b/codefresh.yaml @@ -62,7 +62,7 @@ PushingToRegistries_with_tag: PushingToQuayRegistry: title: Pushing To Quay Registry registry: cfpluginmgr-quay - image_name: cf-argo-plugin + image_name: codefreshplugins/cf-argo-plugin PushingToRegistries: @@ -83,7 +83,7 @@ PushingToRegistries_with_tag: PushingToQuayRegistry: title: Pushing To Quay Registry registry: cfpluginmgr-quay - image_name: cf-argo-plugin + image_name: codefreshplugins/cf-argo-plugin