Skip to content

Commit

Permalink
Update CircleCI configuration for pushing to container registries (#247)
Browse files Browse the repository at this point in the history
* Add CircleCI image registry configuration

* Remove trailing space
  • Loading branch information
marians authored Nov 29, 2023
1 parent 56886e5 commit 77217eb
Showing 1 changed file with 4 additions and 34 deletions.
38 changes: 4 additions & 34 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 @@ -16,41 +16,11 @@ workflows:
- run:
command: "apk add --no-cache gnupg"

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

0 comments on commit 77217eb

Please sign in to comment.