Skip to content
Snippets Groups Projects
Commit f97dee93 authored by Cedric Verstege's avatar Cedric Verstege
Browse files

Update git push command in .gitlab-ci.yml

parent e65d3442
Branches
No related tags found
No related merge requests found
Pipeline #3594 passed
......@@ -18,7 +18,7 @@ update_dockerfile:
- git add alma9-base/Dockerfile
- git commit -m "Update upstream to version $(grep -oP "FROM cern/alma9-base:\K[\w.-]+" "alma9-base/Dockerfile")"
- git remote set-url --push origin "https://$CI_COMMITTER_USER_AND_TOKEN@gitlab.etp.kit.edu/cverstege/docker-images.git"
- git push HEAD:$CI_COMMIT_REF_NAME
- git push origin HEAD:$CI_COMMIT_REF_NAME
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment