ci(runner): configure Portainer webhook and inject registration token via runner .env
Build and Push LOGAR Runner / Build & Push LOGAR Runner Image (push) Failing after 40s
CI Test Suite / Run Component Tests & Pipeline Verification (push) Canceled after 2m8s

This commit is contained in:
2026-09-26 18:05:55 +02:00
parent 38b36c28a0
commit 0e616d614c
3 changed files with 18 additions and 12 deletions
+5 -9
View File
@@ -52,14 +52,10 @@ jobs:
docker push "${IMAGE_TAG}"
echo "Successfully pushed ${IMAGE_TAG} to Gitea Container Registry!"
- name: Trigger Portainer redeploy via webhook (if configured)
- name: Trigger Portainer redeploy via webhook
env:
PORTAINER_WEBHOOK: ${{ secrets.PORTAINER_WEBHOOK_RUNNER || '' }}
PORTAINER_WEBHOOK: ${{ secrets.PORTAINER_WEBHOOK_RUNNER || 'https://portainer.eibl.tech/api/stacks/webhooks/6e67c0b7-1c5d-4bb2-b8b8-4a6ec66d3b87' }}
run: |
if [ -n "${PORTAINER_WEBHOOK}" ]; then
echo "Notifying Portainer to redeploy the runner stack..."
curl -s -X POST "${PORTAINER_WEBHOOK}" || true
echo "✓ Portainer webhook triggered"
else
echo "No Portainer webhook secret provided. Skipping notification."
fi
echo "Notifying Portainer to redeploy the runner stack..."
curl -s -X POST "${PORTAINER_WEBHOOK}" || true
echo "✓ Portainer webhook triggered"