Test CI/CD flow
All checks were successful
Docker Build and Push (Multi-architecture) / build-and-push (push) Successful in 22s
All checks were successful
Docker Build and Push (Multi-architecture) / build-and-push (push) Successful in 22s
This commit is contained in:
@@ -52,11 +52,10 @@ jobs:
|
|||||||
ENDPOINT_ID=16
|
ENDPOINT_ID=16
|
||||||
|
|
||||||
curl -v -X PUT \
|
curl -v -X PUT \
|
||||||
"${{ vars.PORTAINER_URL }}/api/stacks/$STACK_ID" \
|
"${{ vars.PORTAINER_URL }}/api/stacks/$STACK_ID?endpointID=$ENDPOINT_ID" \
|
||||||
-H "X-API-Key: ${{ secrets.PORTAINER_API_KEY }}" \
|
-H "X-API-Key: ${{ secrets.PORTAINER_API_KEY }}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"endpointID": $ENDPOINT_ID,
|
|
||||||
# "stackFileContent": '"$COMPOSE_CONTENT"',
|
# "stackFileContent": '"$COMPOSE_CONTENT"',
|
||||||
"pullImage": true,
|
"pullImage": true,
|
||||||
"prune": true,
|
"prune": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user