diff options
-rw-r--r-- | .github/actions/zephyr-west/Dockerfile | 5 | ||||
-rw-r--r-- | .github/actions/zephyr-west/entrypoint.sh | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.github/actions/zephyr-west/Dockerfile b/.github/actions/zephyr-west/Dockerfile index 687ba1e..73bba4e 100644 --- a/.github/actions/zephyr-west/Dockerfile +++ b/.github/actions/zephyr-west/Dockerfile @@ -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"] diff --git a/.github/actions/zephyr-west/entrypoint.sh b/.github/actions/zephyr-west/entrypoint.sh new file mode 100644 index 0000000..9d985eb --- /dev/null +++ b/.github/actions/zephyr-west/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +west $1 $2 |