Skip to content

Commit

Permalink
Add CircleCI image registry configuration (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Nov 29, 2023
1 parent 7b07d5a commit 10de44a
Showing 1 changed file with 5 additions and 36 deletions.
41 changes: 5 additions & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2.1
orbs:
architect: giantswarm/architect@4.34.1
architect: giantswarm/architect@4.35.5

workflows:
package-and-push-chart-on-tag:
Expand All @@ -13,46 +13,15 @@ workflows:
tags:
only: /^v.*/

- architect/push-to-docker:
context: "architect"
name: push-exception-recommender-to-docker
image: "docker.io/giantswarm/exception-recommender"
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-exception-recommender-to-quay
image: "quay.io/giantswarm/exception-recommender"
username_envar: "QUAY_USERNAME"
password_envar: "QUAY_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-exception-recommender-to-aliyun
image: "giantswarm-registry.cn-shanghai.cr.aliyuncs.com/giantswarm/exception-recommender"
username_envar: "ALIYUN_USERNAME"
password_envar: "ALIYUN_PASSWORD"
requires:
- go-build
# Needed to trigger job also on git tag.
filters:
tags:
only: /^v.*/

# Push to App catalogs
- architect/push-to-app-catalog:
context: "architect"
executor: "app-build-suite"
Expand All @@ -76,7 +45,7 @@ workflows:
filters:
tags:
only: /^v.*/

# Push to collections
- architect/push-to-app-collection:
name: aws-app-collection
Expand Down

0 comments on commit 10de44a

Please sign in to comment.