Merge pull request 'cb-586' (#588) from cb-586 into main
All checks were successful
ci/woodpecker/push/callbacks Pipeline was successful
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:
@@ -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
|
echo "[entrypoint] VAULT_TOKEN is not set; expected Vault Agent sink to write a token to ${VAULT_TOKEN_FILE:-/run/vault/token}" >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
if [ "$#" -gt 0 ] && [ "${1#-}" != "${1}" ]; then
|
||||||
|
set -- /app/callbacks "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec /app/callbacks "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user