Double-escape backslashes
This commit is contained in:
parent
ad5dc59e17
commit
54ec61da12
@ -119,4 +119,4 @@ deploy:
|
|||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
- 'apk add curl jq'
|
- 'apk add curl jq'
|
||||||
- 'curl -X POST $API_URI/api/endpoints/$ENDPOINT_URI/docker/containers/$CONTAINER_ID/restart -H "Authorization: Bearer `curl -X POST $API_URI/api/auth -H "Content-Type: application/json" -d "{\"Username\": \"$API_USER\", \"Password\": \"$API_PASS\"}"" | jq -r ".jwt"`"'
|
- 'curl -X POST $API_URI/api/endpoints/$ENDPOINT_URI/docker/containers/$CONTAINER_ID/restart -H "Authorization: Bearer `curl -X POST $API_URI/api/auth -H "Content-Type: application/json" -d "{\\"Username\\": \\"$API_USER\\", \\"Password\\": \\"$API_PASS\\"}"" | jq -r ".jwt"`"'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user