From 06e340dc52cd04127a802ab2c674b362235a3dcc Mon Sep 17 00:00:00 2001 From: Jeroen de Bruijn Date: Thu, 30 Apr 2020 07:11:01 +0200 Subject: [PATCH] fix: set renovate token in command rather than exporting --- src/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entrypoint.sh b/src/entrypoint.sh index bfd98bda..5c1dab49 100755 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -2,8 +2,8 @@ # # Entrypoint for Docker. -export RENOVATE_TOKEN="${2}" export RENOVATE_CONFIG_FILE="${GITHUB_WORKSPACE}/${1}" +readonly _RENOVATE_TOKEN="${2}" # We are running as ubuntu, so no write access to /github/home export HOME=/home/ubuntu @@ -19,4 +19,4 @@ fi # the following link for this entry. # https://github.com/renovatebot/docker-renovate/blob/d3aa0d99931ea7ad7e901a1e538eba0d61268229/Dockerfile#L63 -/usr/local/bin/docker-entrypoint.sh +RENOVATE_TOKEN="${_RENOVATE_TOKEN}" /usr/local/bin/docker-entrypoint.sh