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

Update CircleCI configuration for pushing to container registries #1753

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 4 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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