Skip to content
Snippets Groups Projects
Commit 212b350e authored by Corné Lukken's avatar Corné Lukken
Browse files

Return external dependency image jobs

parent 08357b96
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,30 @@ stages: ...@@ -42,6 +42,30 @@ stages:
- . bootstrap/etc/lofar20rc.sh || true - . bootstrap/etc/lofar20rc.sh || true
## Allow docker image script to execute ## Allow docker image script to execute
# - chmod u+x $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh # - chmod u+x $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh
.base_docker_store_images:
extends: .base_docker_images
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
docker_store_images_master_tag:
extends: .base_docker_store_images
only:
refs:
- tags
- master
docker_store_images_changes:
extends: .base_docker_store_images
rules:
# https://stackoverflow.com/questions/68955071/how-to-disable-detached-pipelines-in-gitlab
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_TAG != null'
when: never
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: never
- changes:
- docker-compose/.env
when: always
docker_build_image_all: docker_build_image_all:
extends: .base_docker_images extends: .base_docker_images
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment