From 3c4191d7467f6131f7cd0c1d4ca885298597f7da Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Wed, 29 Nov 2023 12:54:48 +0100 Subject: [PATCH] Add CircleCI image registry configuration --- .circleci/config.yml | 42 +++++------------------------------------- 1 file changed, 5 insertions(+), 37 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a0474f7..6fd0da2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - architect: giantswarm/architect@4.33.0 + architect: giantswarm/architect@4.35.5 workflows: test: @@ -12,41 +12,11 @@ workflows: filters: tags: only: /^v.*/ - - architect/push-to-docker: - context: "architect" - name: push-cluster-cleaner-to-docker - image: "docker.io/giantswarm/cluster-cleaner" - username_envar: "DOCKER_USERNAME" - password_envar: "DOCKER_PASSWORD" - requires: - - go-build - # Needed to trigger job also on git tag. - filters: - tags: - only: /^v.*/ - - - architect/push-to-docker: - context: "architect" - name: push-cluster-cleaner-to-quay - image: "quay.io/giantswarm/cluster-cleaner" - username_envar: "QUAY_USERNAME" - password_envar: "QUAY_PASSWORD" - requires: - - go-build - # Needed to trigger job also on git tag. - filters: - tags: - only: /^v.*/ - - - architect/push-to-docker: - context: "architect" - name: push-cluster-cleaner-to-aliyun - image: "giantswarm-registry.cn-shanghai.cr.aliyuncs.com/giantswarm/cluster-cleaner" - username_envar: "ALIYUN_USERNAME" - password_envar: "ALIYUN_PASSWORD" + - architect/push-to-registries: + context: architect + name: push-to-registries requires: - go-build - # Needed to trigger job also on git tag. filters: tags: only: /^v.*/ @@ -58,9 +28,7 @@ workflows: app_catalog_test: "control-plane-test-catalog" chart: "cluster-cleaner" requires: - - push-cluster-cleaner-to-docker - - push-cluster-cleaner-to-quay - # Needed to trigger job also on git tag. + - push-to-registries filters: tags: only: /^v.*/