Try using an entrypoint script for args.
This commit is contained in:
parent
d77df5a27a
commit
89d61e8793
2 changed files with 7 additions and 1 deletions
5
.github/actions/zephyr-west/Dockerfile
vendored
5
.github/actions/zephyr-west/Dockerfile
vendored
|
@ -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
vendored
Normal file
3
.github/actions/zephyr-west/entrypoint.sh
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
west $1 $2
|
Loading…
Reference in a new issue