Skip to content

Commit

Permalink
Add CircleCI image registry configuration (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Nov 29, 2023
1 parent 159f368 commit acbeff6
Showing 1 changed file with 5 additions and 37 deletions.
42 changes: 5 additions & 37 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.33.0
architect: giantswarm/architect@4.35.5

workflows:
test:
Expand All @@ -12,41 +12,11 @@ workflows:
filters:
tags:
only: /^v.*/
- architect/push-to-docker:
context: "architect"
name: push-cluster-cleaner-to-docker
image: "docker.io/giantswarm/cluster-cleaner"
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-cleaner-to-quay
image: "quay.io/giantswarm/cluster-cleaner"
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-cleaner-to-aliyun
image: "giantswarm-registry.cn-shanghai.cr.aliyuncs.com/giantswarm/cluster-cleaner"
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.*/
Expand All @@ -58,9 +28,7 @@ workflows:
app_catalog_test: "control-plane-test-catalog"
chart: "cluster-cleaner"
requires:
- push-cluster-cleaner-to-docker
- push-cluster-cleaner-to-quay
# Needed to trigger job also on git tag.
- push-to-registries
filters:
tags:
only: /^v.*/

0 comments on commit acbeff6

Please sign in to comment.