File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -193,14 +193,29 @@ jobs:
193193 sudo apt-get install -y qemu-user-static binfmt-support
194194 sudo update-binfmts --import
195195
196+ - name : Checkout
197+ if : ${{ matrix.runtime_test && fromJSON(env.HAVE_IPKS) }}
198+ uses : actions/checkout@v4
199+ with :
200+ repository : openwrt/actions-shared-workflows
201+ path : dockerfiles_feeds
202+ sparse-checkout : |
203+ .github/scripts/ci_helpers.sh
204+ .github/dockerfiles_feeds/Dockerfile
205+ .github/dockerfiles_feeds/entrypoint.sh
206+ sparse-checkout-cone-mode : false
207+
196208 - name : Build Docker container
197209 if : ${{ matrix.runtime_test && fromJSON(env.HAVE_IPKS) }}
198210 run : |
199- docker build --platform linux/${{ matrix.arch }} -t test-container --build-arg ARCH .github/workflows/
211+ docker build --platform linux/${{ matrix.arch }} -t test-container \
212+ --build-arg ARCH dockerfiles_feeds/.github/dockerfiles_feeds/
200213 env :
201214 ARCH : ${{ matrix.arch }}-${{ env.BRANCH }}
202215
203216 - name : Test via Docker container
204217 if : ${{ matrix.runtime_test && fromJSON(env.HAVE_IPKS) }}
205218 run : |
206- docker run --platform linux/${{ matrix.arch }} --rm -v $GITHUB_WORKSPACE:/ci test-container
219+ docker run --platform linux/${{ matrix.arch }} --rm -v $GITHUB_WORKSPACE:/ci \
220+ -v $GITHUB_WORKSPACE/dockerfiles_feeds:/dockerfiles_feeds \
221+ -e CI_HELPER=/dockerfiles_feeds/scripts/ci_helpers.sh test-container
You can’t perform that action at this time.
0 commit comments