Skip to content

Commit

Permalink
Add CircleCI image registry configuration (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Dec 5, 2023
1 parent b4d21d1 commit 0757300
Showing 1 changed file with 10 additions and 35 deletions.
45 changes: 10 additions & 35 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,14 @@ workflows:
tags:
only: /^v.*/

- architect/push-to-docker:
context: "architect"
name: push-teleport-operator-to-quay
image: "quay.io/giantswarm/teleport-operator"
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-teleport-operator-to-docker
image: "docker.io/giantswarm/teleport-operator"
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-app-catalog:
context: "architect"
executor: "app-build-suite" # uncomment this if you want automatic metadata generation and helm chart linting
Expand All @@ -47,9 +30,7 @@ workflows:
app_catalog_test: "control-plane-test-catalog"
chart: "teleport-operator"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
# Needed to trigger job also on git tag.
- push-to-registries
filters:
tags:
only: /^v.*/
Expand All @@ -61,9 +42,8 @@ workflows:
app_namespace: "giantswarm"
app_collection_repo: "aws-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -76,9 +56,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "capa-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -91,9 +70,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "cloud-director-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -106,9 +84,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "capz-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -121,9 +98,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "gcp-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -136,9 +112,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "vsphere-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand Down

0 comments on commit 0757300

Please sign in to comment.