From 22a7328a62834ae738e4ef65def2b6e2f499ef70 Mon Sep 17 00:00:00 2001 From: boban Date: Tue, 21 Apr 2026 02:34:36 +0200 Subject: [PATCH] =?UTF-8?q?fix(deployer):=20sed=20statt=20envsubst=20f?= =?UTF-8?q?=C3=BCr=20Secret-Substitution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit envsubst ist im almir/webhook-Image nicht vorhanden, sed ist immer verfügbar. Co-Authored-By: Claude Sonnet 4.6 --- docker/webhook/entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/webhook/entrypoint.sh b/docker/webhook/entrypoint.sh index 26476c1..e996919 100755 --- a/docker/webhook/entrypoint.sh +++ b/docker/webhook/entrypoint.sh @@ -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 ""