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,7 +52,7 @@ jobs:
|
|||||||
ENDPOINT_ID=$(echo $STACK_RESPONSE | jq -r '.[] | select(.Name == "${{ vars.STACK_NAME }}") | .EndpointId')
|
ENDPOINT_ID=$(echo $STACK_RESPONSE | jq -r '.[] | select(.Name == "${{ vars.STACK_NAME }}") | .EndpointId')
|
||||||
|
|
||||||
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 '{
|
||||||
|
|||||||
Reference in New Issue
Block a user