diff --git a/.github/actions/zephyr-west/Dockerfile b/.github/actions/zephyr-west/Dockerfile index 687ba1e2..73bba4ea 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 00000000..9d985eb6 --- /dev/null +++ b/.github/actions/zephyr-west/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +west $1 $2