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
parent
2dd3903a4e
commit
22a7328a62
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue