ci(ant.k8s.vxm.cz): make curl readable again
This commit is contained in:
parent
df3a3e6813
commit
a1a3914fe3
1 changed files with 13 additions and 1 deletions
|
|
@ -26,4 +26,16 @@ deploy:
|
||||||
name: production
|
name: production
|
||||||
url: https://ant.k8s.vxm.cz
|
url: https://ant.k8s.vxm.cz
|
||||||
script:
|
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"
|
||||||
|
|
|
||||||
Reference in a new issue