diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45e7c16..9576fa7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -91,7 +91,7 @@ Create Commit: git checkout -b "update-deployment-${CI_COMMIT_TAG}" git add argocd/deployment/deployment.yml git commit -m "Update deployment manifest with new image tags" - git push origin "update-deployment-${CI_COMMIT_TAG}" + git push --push-option='ci.skip' origin "update-deployment-${CI_COMMIT_TAG}" Create Merge Request: stage: Create Merge Request @@ -101,6 +101,8 @@ Create Merge Request: rules: - if: '$CI_COMMIT_TAG' when: on_success + before_script: | + apk add --no-cache curl script: | curl --request POST --header "PRIVATE-TOKEN: ${GITLAB_TOKEN}" \ --data "source_branch=update-deployment-${CI_COMMIT_TAG}" \