From f8af4ac66b4a276ed52f03556d83e59fa2f04283 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Wed, 29 Nov 2023 12:43:39 +0100 Subject: [PATCH] Add CircleCI image registry configuration --- .circleci/config.yml | 45 ++++++-------------------------------------- 1 file changed, 6 insertions(+), 39 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cf97b34e..5fffe1fe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - architect: giantswarm/architect@4.34.1 + architect: giantswarm/architect@4.35.5 workflows: build: @@ -15,44 +15,14 @@ workflows: tags: only: /^v.*/ - - architect/push-to-docker: - context: "architect" - name: push-capa-iam-operator-to-quay - image: "quay.io/giantswarm/capa-iam-operator" - 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-capa-iam-operator-to-docker - image: "docker.io/giantswarm/capa-iam-operator" - username_envar: "DOCKER_USERNAME" - password_envar: "DOCKER_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.*/ - - - architect/push-to-docker: - context: "architect" - name: push-capa-iam-operator-to-aliyun - image: "giantswarm-registry.cn-shanghai.cr.aliyuncs.com/giantswarm/capa-iam-operator" - username_envar: "ALIYUN_USERNAME" - password_envar: "ALIYUN_PASSWORD" - requires: - - go-build - # Needed to trigger job also on git tag. - filters: - tags: - only: /^v.*/ - - architect/push-to-app-catalog: context: "architect" name: push-capa-iam-operator-to-app-catalog @@ -60,8 +30,7 @@ workflows: app_catalog_test: "control-plane-test-catalog" chart: "capa-iam-operator" requires: - - push-capa-iam-operator-to-quay - # Needed to trigger job also on git tag. + - push-to-registries filters: tags: only: /^v.*/ @@ -73,9 +42,7 @@ workflows: app_collection_repo: "capa-app-collection" requires: - push-capa-iam-operator-to-app-catalog - - push-capa-iam-operator-to-aliyun - - push-capa-iam-operator-to-quay - - push-capa-iam-operator-to-docker + - push-to-registries filters: branches: ignore: /.*/