Test CI/CD flow
All checks were successful
Docker Build and Push (Multi-architecture) / build-and-push (push) Successful in 21s
All checks were successful
Docker Build and Push (Multi-architecture) / build-and-push (push) Successful in 21s
This commit is contained in:
@@ -51,11 +51,11 @@ jobs:
|
||||
STACK_ID=$(echo $STACK_RESPONSE | jq -r '.[] | select(.Name == "${{ vars.STACK_NAME }}") | .Id')
|
||||
|
||||
curl -v -X PUT \
|
||||
"${{ vars.PORTAINER_URL }}/api/stacks/$STACK_ID?endpointId=16" \
|
||||
"${{ vars.PORTAINER_URL }}/api/stacks/$STACK_ID" \
|
||||
-H "X-API-Key: ${{ secrets.PORTAINER_API_KEY }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"stackFileContent": '"$COMPOSE_CONTENT"',
|
||||
# "stackFileContent": '"$COMPOSE_CONTENT"',
|
||||
"pullImage": true,
|
||||
"prune": true,
|
||||
"env": [
|
||||
|
||||
Reference in New Issue
Block a user