Merge pull request 'cb-586' (#588) from cb-586 into main
All checks were successful
ci/woodpecker/push/callbacks Pipeline was successful

Reviewed-on: #588
This commit was merged in pull request #588.
This commit is contained in:
2026-02-28 23:28:18 +00:00

View File

@@ -12,4 +12,8 @@ if [ -z "${VAULT_TOKEN:-}" ]; then
echo "[entrypoint] VAULT_TOKEN is not set; expected Vault Agent sink to write a token to ${VAULT_TOKEN_FILE:-/run/vault/token}" >&2
fi
exec "$@"
if [ "$#" -gt 0 ] && [ "${1#-}" != "${1}" ]; then
set -- /app/callbacks "$@"
fi
exec /app/callbacks "$@"