Commit aec70728 authored by Manuel Kieweg's avatar Manuel Kieweg 🤷
Browse files

run build on mr|master|develop only

parent 294d777c
......@@ -2,7 +2,9 @@ build:k8s-bot:
stage: build
image: golang:1.16
rules:
- if: $CI
- if: $CI_COMMIT_BRANCH == "develop"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
script:
- cd build/cd
- go build -o k8s-bot
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment