Browse Source

Try using an entrypoint script for args.

xmkb
Pete Johanson 5 years ago
parent
commit
89d61e8793
  1. 5
      .github/actions/zephyr-west/Dockerfile
  2. 3
      .github/actions/zephyr-west/entrypoint.sh

5
.github/actions/zephyr-west/Dockerfile

@ -54,4 +54,7 @@ RUN wget -q https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/master/s @@ -54,4 +54,7 @@ RUN wget -q https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/master/s
ENV ZEPHYR_TOOLCHAIN_VARIANT=zephyr
ENV ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-${ZSDK_VERSION}
ENTRYPOINT ["west"]
COPY ./entrypoint.sh ./
RUN chmod +x ./entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]

3
.github/actions/zephyr-west/entrypoint.sh

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
#!/bin/sh
west $1 $2
Loading…
Cancel
Save