add docker files
This commit is contained in:
parent
7e35f197b9
commit
98bc95f1b1
@ -45,7 +45,7 @@ deploy-job:
|
|||||||
-H "Authorization: Bearer $PORTAINER_API_KEY" \
|
-H "Authorization: Bearer $PORTAINER_API_KEY" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"Prune": true}' \
|
-d '{"Prune": true}' \
|
||||||
http://$PORTAINER_URL/api/stacks/$STACK_ID/deploy 2>&1)
|
https://$PORTAINER_URL/api/stacks/$STACK_ID/deploy 2>&1)
|
||||||
|
|
||||||
HTTP_CODE=$(echo "$RESPONSE" | grep "< HTTP/" | awk '{print $3}')
|
HTTP_CODE=$(echo "$RESPONSE" | grep "< HTTP/" | awk '{print $3}')
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user