Loading .gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,12 @@ stages: - build-img - test workflow: rules: - if: $CI_MERGE_REQUEST_ID # Execute jobs in merge request context - if: $CI_COMMIT_BRANCH == 'main' # Execute jobs when a new commit is pushed to main branch build-img: stage: build-img image: Loading Loading
.gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,12 @@ stages: - build-img - test workflow: rules: - if: $CI_MERGE_REQUEST_ID # Execute jobs in merge request context - if: $CI_COMMIT_BRANCH == 'main' # Execute jobs when a new commit is pushed to main branch build-img: stage: build-img image: Loading