diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91f2d43c802ff7b33d231d5af947a325ad21318f..a4f72625dbc60ab4bb34e43651208fa27e9ee901 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,7 +115,6 @@ docker_build_image: parallel: matrix: - IMAGE: - - lofar-device-base - ec-sim - http-json-schemas - prometheus @@ -136,6 +135,15 @@ docker_build_image: # Do not remove 'bash' or statement will be ignored by primitive docker shell - bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh $IMAGE $tag +docker_build_image_device_base: + extends: .base_docker_images + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + - if: ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH) || $CI_COMMIT_TAG + script: + # Do not remove 'bash' or statement will be ignored by primitive docker shell + - bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh lofar-device-base $tag + newline_at_eof: stage: linting before_script: