fix: set renovate token in command rather than exporting

This commit is contained in:
Jeroen de Bruijn 2020-04-30 07:11:01 +02:00
parent c8be035580
commit 06e340dc52
No known key found for this signature in database
GPG key ID: 3A2677A1DF38FF9F

View file

@ -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