Skip to content
Snippets Groups Projects
Commit aec70728 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

run build on mr|master|develop only

parent 294d777c
No related branches found
No related tags found
1 merge request!128Prepare k8s deployment
Pipeline #67627 passed
...@@ -2,7 +2,9 @@ build:k8s-bot: ...@@ -2,7 +2,9 @@ build:k8s-bot:
stage: build stage: build
image: golang:1.16 image: golang:1.16
rules: rules:
- if: $CI - if: $CI_COMMIT_BRANCH == "develop"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
script: script:
- cd build/cd - cd build/cd
- go build -o k8s-bot - go build -o k8s-bot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment