-
Notifications
You must be signed in to change notification settings - Fork 0
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 (#130)
* Add CircleCI image registry configuration * Remove job, use workflow, use orb's push-to-registries job * Fix syntax error
- Loading branch information
Showing
1 changed file
with
8 additions
and
25 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,44 +1,27 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
architect: giantswarm/[email protected] | ||
|
||
jobs: | ||
build: | ||
executor: architect/architect | ||
environment: | ||
DOCKER_BUILDKIT: "1" | ||
|
||
steps: | ||
- checkout | ||
|
||
- setup_remote_docker: | ||
version: 20.10.11 | ||
|
||
- architect/push-to-docker: | ||
image: quay.io/giantswarm/docs-proxy | ||
tag-latest-branch: main | ||
username_envar: QUAY_USERNAME | ||
password_envar: QUAY_PASSWORD | ||
architect: giantswarm/[email protected] | ||
|
||
workflows: | ||
package-and-push-chart-on-tag: | ||
build-workflow: | ||
jobs: | ||
- build: | ||
- architect/push-to-registries: | ||
context: architect | ||
filters: # required since `architect/push-to-app-catalog` has tag filters AND requires `build` | ||
name: push-to-registries | ||
filters: | ||
tags: | ||
only: /.*/ | ||
|
||
- architect/push-to-app-catalog: | ||
name: package and push | ||
name: push-to-app-catalog | ||
context: architect | ||
app_catalog: giantswarm-operations-platform-catalog | ||
app_catalog_test: giantswarm-operations-platform-test-catalog | ||
chart: docs-proxy-app | ||
requires: | ||
- push-to-registries | ||
# Trigger job on git tag. | ||
filters: | ||
tags: | ||
only: /^v.*/ | ||
requires: | ||
- build |