fix(deployer): sed statt envsubst für Secret-Substitution

envsubst ist im almir/webhook-Image nicht vorhanden, sed ist immer verfügbar.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
boban 2026-04-21 02:34:36 +02:00
parent 2dd3903a4e
commit 22a7328a62
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
#!/bin/sh
# Substituiert ${DEPLOY_WEBHOOK_SECRET} im hooks.json-Template
envsubst < /etc/webhook/hooks.json > /tmp/hooks.json
sed "s|\${DEPLOY_WEBHOOK_SECRET}|${DEPLOY_WEBHOOK_SECRET}|g" /etc/webhook/hooks.json > /tmp/hooks.json
exec webhook -hooks /tmp/hooks.json -verbose -port 9000 -urlprefix ""