From 113bc6af0fcaf4fd303c87addb8ce0ab234c0991 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Wed, 7 Oct 2020 16:31:44 +0200 Subject: [PATCH] Fix wrong understanding of the workflow key The workflow key is a toplevel key to determine whether or not the entire pipeline, it's not a job-level key. Reference: https://docs.gitlab.com/ee/ci/yaml/#workflowrules --- gitlab-ci-template.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitlab-ci-template.yml b/gitlab-ci-template.yml index 1a62d29..2edb97d 100644 --- a/gitlab-ci-template.yml +++ b/gitlab-ci-template.yml @@ -46,5 +46,4 @@ container-tagging: - si-tagging -l "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA" "$CI_REGISTRY_IMAGE" "${CI_REGISTRY_IMAGE_VERSION}" - si-push "$CI_REGISTRY_IMAGE" resource_group: latest - workflow: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH -- GitLab