From a75187f427d225ee975428a94b514a2a0f4c0515 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Tue, 29 Oct 2024 18:29:35 +0100 Subject: [PATCH] Ignore default branch --- .circleci/config.yml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a5834c4..49926860 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,20 +5,24 @@ orbs: workflows: go-build: jobs: - - architect/go-build: - name: go-build-architect - binary: architect + - architect/go-build: + name: go-build-architect + binary: architect # Needed to trigger job also on git tag. - filters: - tags: - only: /^v.*/ + filters: + tags: + only: /^v.*/ - - architect/push-to-registries: - context: architect - name: push-to-registries - requires: - - go-build-architect - filters: + - architect/push-to-registries: + context: architect + name: push-to-registries + requires: + - go-build-architect + filters: # Needed to trigger job also on git tag. - tags: - only: /^v.*/ + tags: + only: /^v.*/ + branches: + ignore: + - main + - master