Skip to content
Snippets Groups Projects
Commit 629735cf authored by Timo Millenaar's avatar Timo Millenaar
Browse files

Add cicd build test that can be triggered manually or scheduled

parent 56fbe45d
No related branches found
No related tags found
2 merge requests!26Add cicd build test that can be triggered manually or scheduled,!25Compile casacore in dockerfile instead of installing python-casacore through...
......@@ -11,7 +11,18 @@ before_script:
- git config user.name $GITLAB_USER_NAME
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build:
test_build:
image: docker:latest
stage: build
tags:
- dind
script:
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME -f docker/Dockerfile .
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: '$CI_PIPELINE_SOURCE == "web"'
deploy:
image: docker:latest
stage: build
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment