-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
This issue is maybe related to #794 but that one does not contains a solution and I still got a stable reproduction scenario.
- In the action config file I set:
with:
docker-cmd-file: example/entrypoint.sh
- In the logs I see
/usr/bin/docker run --env LOG_LEVEL --env RENOVATE_TOKEN=*** --env RENOVATE_CONFIG_FILE=/github-action/renovate-config.js --volume /home/runner/work/test-renovate/test-renovate/example/renovate-config.js:/github-action/renovate-config.js --volume /home/runner/work/test-renovate/test-renovate/example/entrypoint.sh:/entrypoint.sh --user root --volume /tmp:/tmp --rm ghcr.io/renovatebot/renovate:37.175.3 /entrypoint.sh
...some unrelevant log lines...
DEBUG: CLI config "config": {"repositories": ["/entrypoint.sh"]}
- It seems that the /entrypoint.sh argument for docker run is not running the custom entrypoints script
- I think renovate gets called with this argument, like this:
renovate /entrypoint.sh
this would explain why it sees a cli config with this value als repositories at least.
I took the examples from this project and stripped it down to a minimal reproduction path.
code: https://github.com/lazytesting/test-renovate
action run: https://github.com/lazytesting/test-renovate/actions/runs/7829422258/job/21361374380
The strange thing is that it seems to work in the e2e test github action of this project but I cannot see the difference.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackPriority
None yet
Datasource
None yet