bafc4a302a
Due to the incomplete entrypoint, bash doesn't want to execute scripts. The error message it provides says: ``` /bin/sh: /bin/sh: cannot execute binary file ``` The solution is rather trivial by making the entrypoint `["/bin/bash", "-c"]`.
25 lines
414 B
YAML
25 lines
414 B
YAML
image:
|
|
name: docker.io/renovate/renovate:19
|
|
entrypoint:
|
|
- "/bin/bash"
|
|
- "-c"
|
|
|
|
stages:
|
|
- CI
|
|
- Run
|
|
|
|
dry-run:
|
|
stage: CI
|
|
before_script:
|
|
- "cp config.js /usr/src/app/config.js"
|
|
script:
|
|
- "node /usr/src/app/dist/renovate.js --dry-run"
|
|
|
|
run:
|
|
stage: Run
|
|
before_script:
|
|
- cp config.js /usr/src/app/config.js
|
|
script:
|
|
- node /usr/src/app/dist/renovate.js
|
|
only:
|
|
- schedules
|