Skip to content
Snippets Groups Projects
Commit 368dedc2 authored by (INACTIVE) Marcel Bajdel (new marcel.bajdel)'s avatar (INACTIVE) Marcel Bajdel (new marcel.bajdel) :rocket:
Browse files

Correcting the rules

parent 742c6140
No related branches found
No related tags found
3 merge requests!20Release,!13Docker image branch,!12Docker image branch
stages:
# List of stages for jobs, and their order of execution
- check_image
- che
- initial_build # builds if the image does not exist
- build_main # builds when the merge request is made into main
- build_tag # builds when the tag is pushed
......@@ -37,6 +37,7 @@ initial_build:
rules: # if the image is pushed into main branch, the build_main job will run
- if: $CI_COMMIT_BRANCH
changes:
- "**/*"
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
when: never
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment