1
0
Fork 0

ci(ant.k8s.vxm.cz): make curl readable again

This commit is contained in:
Vojtěch Mareš 2022-01-03 18:41:06 +01:00
parent df3a3e6813
commit a1a3914fe3
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -26,4 +26,16 @@ deploy:
name: production
url: https://ant.k8s.vxm.cz
script:
- curl --request PUT --header 'PRIVATE-TOKEN: ${CI_PUSH_TOKEN}' --header "Content-Type: application/json" --data '{"branch": "main", "author_email": "ci@gitlab.mareshq.com", "author_name": "GitLab CI [bot]", "content": "image: ${IMAGE}:${IMAGE_TAG}", "commit_message": "[auto] build(signpost): update image to ${IMAGE}:${IMAGE_TAG}"}' "https://gitlab.mareshq.com/api/v4/projects/60/repository/files/signpost%2Fvalues%2Eyaml"
- >
curl
--request PUT
--header 'PRIVATE-TOKEN: $CI_PUSH_TOKEN'
--header "Content-Type: application/json"
--data '{
"branch": "main",
"author_email": "ci@gitlab.mareshq.com",
"author_name": "GitLab CI [bot]",
"content": "image: $IMAGE:$IMAGE_TAG",
"commit_message": "[auto] build(signpost): update image to $IMAGE:$IMAGE_TAG"
}'
"https://gitlab.mareshq.com/api/v4/projects/60/repository/files/signpost%2Fvalues%2Eyaml"