Test CI/CD flow
All checks were successful
Docker Build and Push (Multi-architecture) / build-and-push (push) Successful in 21s

This commit is contained in:
2025-09-16 14:07:24 +00:00
parent 693618e14d
commit 2d3bdac6dd

View File

@@ -51,11 +51,11 @@ jobs:
STACK_ID=$(echo $STACK_RESPONSE | jq -r '.[] | select(.Name == "${{ vars.STACK_NAME }}") | .Id') STACK_ID=$(echo $STACK_RESPONSE | jq -r '.[] | select(.Name == "${{ vars.STACK_NAME }}") | .Id')
curl -v -X PUT \ 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 "X-API-Key: ${{ secrets.PORTAINER_API_KEY }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"stackFileContent": '"$COMPOSE_CONTENT"', # "stackFileContent": '"$COMPOSE_CONTENT"',
"pullImage": true, "pullImage": true,
"prune": true, "prune": true,
"env": [ "env": [