Skip to content

Commit

Permalink
Add CircleCI image registry configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
piontec committed Nov 23, 2023
1 parent d74b7ed commit 6490d93
Showing 1 changed file with 5 additions and 34 deletions.
39 changes: 5 additions & 34 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,13 @@ workflows:
tags:
only: /^v.*/

- architect/push-to-docker:
context: "architect"
name: push-app-operator-to-docker
image: "docker.io/giantswarm/app-operator"
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-app-operator-to-quay
image: "quay.io/giantswarm/app-operator"
username_envar: "QUAY_USERNAME"
password_envar: "QUAY_PASSWORD"
requires:
- go-build
filters:
# Trigger the job also on git tag.
tags:
only: /^v.*/

- architect/push-to-docker:
- architect/push-to-registries:
context: architect
name: push-app-operator-to-aliyun
image: "giantswarm-registry.cn-shanghai.cr.aliyuncs.com/giantswarm/app-operator"
username_envar: "ALIYUN_USERNAME"
password_envar: "ALIYUN_PASSWORD"
name: push-to-registries
image: giantswarm/app-operator
requires:
- go-build
filters:
# Trigger the job also on git tag.
tags:
only: /^v.*/

Expand All @@ -59,7 +30,7 @@ workflows:
app_catalog_test: "control-plane-test-catalog"
chart: "app-operator"
requires:
- push-app-operator-to-quay
- push-to-registries
filters:
tags:
only: /^v.*/
Expand Down Expand Up @@ -107,8 +78,8 @@ workflows:
app_name: "app-operator"
app_collection_repo: "aws-app-collection"
requires:
- push-app-operator-to-aliyun
- push-app-operator-to-control-plane-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand Down

0 comments on commit 6490d93

Please sign in to comment.