Skip to content
Snippets Groups Projects
Commit c2d7cb14 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Update .gitlab-ci.yml

parent 4e9f9c09
No related branches found
No related tags found
1 merge request!69Change the name of the pre-calibrated output MS
Pipeline #315 passed
...@@ -27,25 +27,16 @@ build_docker: ...@@ -27,25 +27,16 @@ build_docker:
- cd Docker - cd Docker
- bash build_docker.sh - bash build_docker.sh
#push_docker_tags: push_docker_tags:
# image: docker:latest
# allow_failure: true
# stage: push_docker
# only:
# - tags
# script:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# - docker tag lofareosc/prefactor-ci:latest $CI_REGISTRY/prefactor-ci:$CI_COMMIT_REF_NAME
# - docker push $CI_REGISTRY/prefactor-ci:$CI_COMMIT_REF_NAME
push_docker_master:
image: docker:latest image: docker:latest
allow_failure: true
stage: push_docker stage: push_docker
only: only:
- master - tags
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push lofareosc/prefactor-ci:latest - docker tag lofareosc/prefactor-ci:latest $CI_REGISTRY/prefactor-ci:$CI_COMMIT_REF_NAME
- docker push $CI_REGISTRY/prefactor-ci:$CI_COMMIT_REF_NAME
validate_scripts: validate_scripts:
stage: validate_cwl_scripts stage: validate_cwl_scripts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment