mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-18 09:52:35 +00:00
chore: pass to default entrypoint
This commit is contained in:
parent
f32eee8d20
commit
ed1f35642e
1 changed files with 4 additions and 5 deletions
|
|
@ -2,10 +2,8 @@
|
||||||
#
|
#
|
||||||
# Entrypoint for Docker.
|
# Entrypoint for Docker.
|
||||||
|
|
||||||
readonly CONFIGURATION_FILE="${1}"
|
export RENOVATE_TOKEN="${2}"
|
||||||
readonly TOKEN="${2}"
|
export RENOVATE_CONFIG_FILE="${GITHUB_WORKSPACE}/${1}"
|
||||||
|
|
||||||
export RENOVATE_CONFIG_FILE="${GITHUB_WORKSPACE}/${CONFIGURATION_FILE}"
|
|
||||||
|
|
||||||
if [[ ! -f "${RENOVATE_CONFIG_FILE}" ]]; then
|
if [[ ! -f "${RENOVATE_CONFIG_FILE}" ]]; then
|
||||||
echo "ERROR: Couldn't find file ${RENOVATE_CONFIG_FILE}" 1>&2
|
echo "ERROR: Couldn't find file ${RENOVATE_CONFIG_FILE}" 1>&2
|
||||||
|
|
@ -17,4 +15,5 @@ fi
|
||||||
# Mimic the original ENTRYPOINT of the renovate/renovate Docker container. See
|
# Mimic the original ENTRYPOINT of the renovate/renovate Docker container. See
|
||||||
# the following link for this entry.
|
# the following link for this entry.
|
||||||
# https://github.com/renovatebot/docker-renovate/blob/d3aa0d99931ea7ad7e901a1e538eba0d61268229/Dockerfile#L63
|
# https://github.com/renovatebot/docker-renovate/blob/d3aa0d99931ea7ad7e901a1e538eba0d61268229/Dockerfile#L63
|
||||||
RENOVATE_TOKEN="${TOKEN}" renovate
|
|
||||||
|
/usr/local/bin/docker-entrypoint.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue