From defcde81ebca6a2f8f0bdc2df53cd14a68e004c9 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Wed, 30 Oct 2024 09:24:22 +0100 Subject: [PATCH] Ignore default branch (#106) --- .circleci/config.yml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 106f008..a17252c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,21 +7,25 @@ workflows: version: 2 build: jobs: - - architect/go-build: - name: build-aws-ebs-csi-volume-limiter - context: architect - binary: aws-ebs-csi-volume-limiter - filters: + - architect/go-build: + name: build-aws-ebs-csi-volume-limiter + context: architect + binary: aws-ebs-csi-volume-limiter + filters: # Do this on every commit and when a new tag is created. - tags: - only: /^v.*/ + tags: + only: /^v.*/ - - architect/push-to-registries: - context: architect - name: push-to-registries - requires: - - build-aws-ebs-csi-volume-limiter - filters: - tags: - only: /^v.*/ + - architect/push-to-registries: + context: architect + name: push-to-registries + requires: + - build-aws-ebs-csi-volume-limiter + filters: + tags: + only: /^v.*/ + branches: + ignore: + - main + - master