From 89d61e879391562c6fffaa09f786eed53a6a6cc3 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Mon, 8 Jun 2020 12:49:02 -0400 Subject: [PATCH] Try using an entrypoint script for args. --- .github/actions/zephyr-west/Dockerfile | 5 ++++- .github/actions/zephyr-west/entrypoint.sh | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .github/actions/zephyr-west/entrypoint.sh 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