Skip to content

Commit

Permalink
Add CircleCI image registry configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
marians committed Nov 29, 2023
1 parent a63ad3d commit f8af4ac
Showing 1 changed file with 6 additions and 39 deletions.
45 changes: 6 additions & 39 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
architect: giantswarm/architect@4.34.1
architect: giantswarm/architect@4.35.5

workflows:
build:
Expand All @@ -15,53 +15,22 @@ 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
app_catalog: "control-plane-catalog"
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.*/
Expand All @@ -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: /.*/
Expand Down

0 comments on commit f8af4ac

Please sign in to comment.