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

Merge branch 'compile_casacore' into 'master'

Tag latest in docker_build instead of .gitlab-ci.yml

See merge request !28
parents 468b93f2 f24214bc
No related branches found
No related tags found
1 merge request!28Tag latest in docker_build instead of .gitlab-ci.yml
Pipeline #110458 passed
......@@ -29,7 +29,6 @@ deploy:
script:
- sh ./docker/docker_build.sh $CI_REGISTRY_IMAGE $CI_COMMIT_REF_NAME
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
- docker tag ${CI_REGISTRY_IMAGE} latest
- docker push ${CI_REGISTRY_IMAGE}:latest
- git remote set-url origin git@${CI_SERVER_HOST}:${CI_PROJECT_PATH}.git
- find . -type f -name "*.cwl" -exec sed -i "s|git.astron.nl:5000/ldv/imaging_compress_pipeline:.*|git.astron.nl:5000/ldv/imaging_compress_pipeline:$CI_COMMIT_TAG|" {} +
......
......@@ -23,6 +23,7 @@ docker build \
--progress plain \
--file docker/Dockerfile \
--tag ${IMAGE_NAME}:${TAG} \
--tag ${IMAGE_NAME}:latest \
.
echo "Succesfully build docker file"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment