diff --git a/.github/non-executable-entrypoint.sh b/.github/non-executable-entrypoint.sh new file mode 100644 index 00000000..d7ab0985 --- /dev/null +++ b/.github/non-executable-entrypoint.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +install-apt sl + +exec runuser -u ubuntu renovate diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89337fdc..dd8681aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,6 +104,16 @@ jobs: docker-cmd-file: example/entrypoint.sh docker-user: root + - name: Renovate test with entrypoint + uses: ./ + env: + LOG_LEVEL: debug + with: + configurationFile: ${{ matrix.configurationFile }} + renovate-version: ${{ env.RENOVATE_VERSION }} + docker-cmd-file: .github/workflows/non-executable-entrypoint.sh + docker-user: root + release: needs: [lint, commitlint, e2e] runs-on: ubuntu-latest