-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CircleCI configuration for pushing to container registries (#247)
* Add CircleCI image registry configuration * Remove trailing space
- Loading branch information
Showing
1 changed file
with
4 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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.*/ |