Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Add CircleCI image registry configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
marians committed Nov 29, 2023
1 parent 8a49ffc commit 6b12f70
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .circleci/config.yml
@@ -1,5 +1,5 @@
orbs:
architect: giantswarm/architect@4.33.0
architect: giantswarm/architect@4.35.5

version: 2.1
workflows:
Expand All @@ -16,12 +16,9 @@ workflows:
only: /^v.*/

# build and push docker image to quay.
- architect/push-to-docker:
- architect/push-to-registries:
context: architect
name: push-azure-operator-to-quay
image: "quay.io/giantswarm/azure-operator"
username_envar: "QUAY_USERNAME"
password_envar: "QUAY_PASSWORD"
name: push-to-registries
requires:
- go-build
filters:
Expand All @@ -30,20 +27,6 @@ workflows:
only: /^v.*/

# build and push docker image to docker.
- architect/push-to-docker:
context: architect
name: push-azure-operator-to-docker
image: "docker.io/giantswarm/azure-operator"
username_envar: "DOCKER_USERNAME"
password_envar: "DOCKER_PASSWORD"
requires:
- go-build
filters:
# Trigger the job also on git tag.
tags:
only: /^v.*/

# build and push helm chart to app catalog.
- architect/push-to-app-catalog:
context: architect
name: push-azure-operator-to-control-plane-app-catalog
Expand All @@ -52,8 +35,7 @@ workflows:
chart: "azure-operator"
# Make sure docker image is successfully built.
requires:
- push-azure-operator-to-quay
- push-azure-operator-to-docker
- push-to-registries
filters:
# Trigger the job also on git tag.
tags:
Expand Down

0 comments on commit 6b12f70

Please sign in to comment.