From 43d4f89775ee2bd50375ac01f76f591c5035e054 Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:51:23 +0300 Subject: [PATCH 1/9] Add input for additional flags in action.yml --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3bee621..8b87075 100644 --- a/action.yml +++ b/action.yml @@ -11,6 +11,10 @@ inputs: description: 'Building directory' required: true default: 'build' + add_flags: + description: 'Additional flags' + required: true + default: '--no-sysbuild' runs: using: 'docker' image: 'docker://sergeyladanov/nrf-connect-sdk:v3.0.1' @@ -21,7 +25,7 @@ runs: - ${{ inputs.build_dir }} - . - --pristine - - --no-sysbuild - --board - ${{ inputs.board }} + - ${{ input.add_flags }} From 8a22869a179c20268888015c8012c401f87ccb1e Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:51:58 +0300 Subject: [PATCH 2/9] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8b87075..b58b474 100644 --- a/action.yml +++ b/action.yml @@ -17,7 +17,7 @@ inputs: default: '--no-sysbuild' runs: using: 'docker' - image: 'docker://sergeyladanov/nrf-connect-sdk:v3.0.1' + image: 'docker://sergeyladanov/nrf-connect-sdk:v3.0.2' args: - west - build From 3cdd4a8cd8dfd83d9a3737ed0791ab150c8e9705 Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:53:02 +0300 Subject: [PATCH 3/9] Change exec command to use bash with arguments --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 2504a57..1fc59d1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,4 +4,5 @@ /bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -t arm-zephyr-eabi /bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -c -exec $@ +# exec $@ +exec bash -c "$@" From a133f06ff98514027d63ecdc86ca4ef3691548e1 Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:56:17 +0300 Subject: [PATCH 4/9] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 997691c..ae64b80 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,6 @@ services: context: . dockerfile: Dockerfile args: - - NRF_CONNECT_TAG=v3.0.1 + - NRF_CONNECT_TAG=v3.0.2 - ZEPHYR_NEEDED_TAG=0.17.0 - ZEPHYR_ARCHIVE_EXTENSION=gz From 84208cf69001eed1cbe433aaee92031175c1a5a9 Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:56:47 +0300 Subject: [PATCH 5/9] Add v3.0.2 to nrf-connect-sdk-ci versions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f19c3fc..ffa40b0 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ uses: embedd-actions/nrf-connect-sdk-ci@v2.9.0 uses: embedd-actions/nrf-connect-sdk-ci@v2.9.1 uses: embedd-actions/nrf-connect-sdk-ci@v3.0.0 uses: embedd-actions/nrf-connect-sdk-ci@v3.0.1 +uses: embedd-actions/nrf-connect-sdk-ci@v3.0.2 ``` ## List of available tags @@ -54,4 +55,5 @@ v2.9.0 v2.9.1 v3.0.0 v3.0.1 +v3.0.2 ``` From 3bd84c35fa688634bec34fe0298a2f4b8395fb22 Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:57:08 +0300 Subject: [PATCH 6/9] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 23899dd..271f59a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM debian:stable-slim #ARG ARCH=amd64 -ARG NRF_CONNECT_TAG=v3.0.1 +ARG NRF_CONNECT_TAG=v3.0.2 # Should be for selected NRF_CONNECT_TAG ARG ZEPHYR_NEEDED_TAG=0.17.0 # For new versions - xz From 9ac1a476919cf89a01699e256c998f33b28b2c69 Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:59:16 +0300 Subject: [PATCH 7/9] Update nrf-connect-sdk-ci action version to v3.0.2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ffa40b0..fad6ea8 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ jobs: - name: Build - uses: embedd-actions/nrf-connect-sdk-ci@v3.0.1 + uses: embedd-actions/nrf-connect-sdk-ci@v3.0.2 with: board: build_dir: build From 47b2f2fbda8dc9ae886589b0eb04e2eb32f731a3 Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 13:01:40 +0300 Subject: [PATCH 8/9] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 271f59a..3aceb81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,7 @@ RUN ARCH="$(dpkg --print-architecture)" && \ -y && \ # Remove apt cache rm -rf /var/cache/apt && \ - pip3 install --upgrade pip --break-system-packages && \ + # pip3 install --upgrade pip --break-system-packages && \ # Create work directory mkdir /workdir && \ # Get GN tools for matter From 5132e45f05d2386e1a9ff1701d1ed3b7030b8c6d Mon Sep 17 00:00:00 2001 From: Sergey <61871201+SergeyLadanov@users.noreply.github.com> Date: Wed, 3 Dec 2025 13:49:42 +0300 Subject: [PATCH 9/9] Update image_publishing.yml --- .github/workflows/image_publishing.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/image_publishing.yml b/.github/workflows/image_publishing.yml index 27e4166..afff2d8 100644 --- a/.github/workflows/image_publishing.yml +++ b/.github/workflows/image_publishing.yml @@ -13,6 +13,19 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Free disk space + run: | + echo "Initial disk usage:" + df -h + + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + + echo "After cleanup:" + df -h + - name: Docker meta id: meta @@ -40,3 +53,10 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} platforms: linux/amd64,linux/arm64 + no-cache: true + + - name: Cleanup Docker + if: always() + run: | + docker system prune -af || true + df -h