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

Release to realeses/vx.x.x branch instead of master

parent b6977df0
No related branches found
No related tags found
No related merge requests found
Pipeline #90952 passed
......@@ -20,10 +20,9 @@ build:
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME -f docker/Dockerfile .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
- git remote set-url origin git@${CI_SERVER_HOST}:${CI_PROJECT_PATH}.git
- git fetch origin
- 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|" {} +
- git commit --all -m "Use docker container for version $CI_COMMIT_TAG"
- git status
- git push origin HEAD:$CI_DEFAULT_BRANCH
- git checkout -b releases/$CI_COMMIT_TAG
- git push origin releases/$CI_COMMIT_TAG
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment