From fcb523d3a4c509d0a43f1206f79383439ae69c82 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Wed, 29 Nov 2023 15:44:50 +0100 Subject: [PATCH] Add CircleCI image registry configuration --- .circleci/config.yml | 47 +++++++++++--------------------------------- 1 file changed, 11 insertions(+), 36 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e71ec0eb..dfcc63b5 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: build: @@ -14,31 +14,14 @@ workflows: tags: only: /^v.*/ - - architect/push-to-docker: - context: "architect" - name: push-teleport-operator-to-quay - image: "quay.io/giantswarm/teleport-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-teleport-operator-to-docker - image: "docker.io/giantswarm/teleport-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-app-catalog: context: "architect" executor: "app-build-suite" # uncomment this if you want automatic metadata generation and helm chart linting @@ -47,9 +30,7 @@ workflows: app_catalog_test: "control-plane-test-catalog" chart: "teleport-operator" requires: - - push-teleport-operator-to-quay - - push-teleport-operator-to-docker - # Needed to trigger job also on git tag. + - push-to-registries filters: tags: only: /^v.*/ @@ -61,9 +42,8 @@ workflows: app_namespace: "giantswarm" app_collection_repo: "aws-app-collection" requires: - - push-teleport-operator-to-quay - - push-teleport-operator-to-docker - push-teleport-operator-to-app-catalog + - push-to-registries filters: branches: ignore: /.*/ @@ -76,9 +56,8 @@ workflows: app_name: "teleport-operator" app_collection_repo: "capa-app-collection" requires: - - push-teleport-operator-to-quay - - push-teleport-operator-to-docker - push-teleport-operator-to-app-catalog + - push-to-registries filters: branches: ignore: /.*/ @@ -91,9 +70,8 @@ workflows: app_name: "teleport-operator" app_collection_repo: "cloud-director-app-collection" requires: - - push-teleport-operator-to-quay - - push-teleport-operator-to-docker - push-teleport-operator-to-app-catalog + - push-to-registries filters: branches: ignore: /.*/ @@ -106,9 +84,8 @@ workflows: app_name: "teleport-operator" app_collection_repo: "capz-app-collection" requires: - - push-teleport-operator-to-quay - - push-teleport-operator-to-docker - push-teleport-operator-to-app-catalog + - push-to-registries filters: branches: ignore: /.*/ @@ -121,9 +98,8 @@ workflows: app_name: "teleport-operator" app_collection_repo: "gcp-app-collection" requires: - - push-teleport-operator-to-quay - - push-teleport-operator-to-docker - push-teleport-operator-to-app-catalog + - push-to-registries filters: branches: ignore: /.*/ @@ -136,9 +112,8 @@ workflows: app_name: "teleport-operator" app_collection_repo: "vsphere-app-collection" requires: - - push-teleport-operator-to-quay - - push-teleport-operator-to-docker - push-teleport-operator-to-app-catalog + - push-to-registries filters: branches: ignore: /.*/