Skip to content

Commit

Permalink
Add CircleCI image registry configuration (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Dec 1, 2023
1 parent 6444d17 commit fc54326
Showing 1 changed file with 5 additions and 38 deletions.
43 changes: 5 additions & 38 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
architect: giantswarm/[email protected].1
architect: giantswarm/[email protected].5

workflows:
build:
Expand All @@ -13,56 +13,23 @@ workflows:
tags:
only: /^v.*/

- architect/push-to-docker:
context: "architect"
name: push-cluster-apps-operator-to-docker
image: "docker.io/giantswarm/cluster-apps-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-cluster-apps-operator-to-quay
image: "quay.io/giantswarm/cluster-apps-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-cluster-apps-operator-to-aliyun
image: "giantswarm-registry.cn-shanghai.cr.aliyuncs.com/giantswarm/cluster-apps-operator"
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.*/


- architect/push-to-app-catalog:
context: "architect"
name: push-cluster-apps-operator-to-control-plane-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "cluster-apps-operator"
requires:
- push-cluster-apps-operator-to-docker
- push-cluster-apps-operator-to-quay
# Needed to trigger job also on git tag.
- push-to-registries
filters:
tags:
only: /^v.*/
Expand Down

0 comments on commit fc54326

Please sign in to comment.