Skip to content

Commit 5e4f33e

Browse files
Merge pull request #34 from embedd-actions/3.0.2-branch
3.0.2 branch
2 parents a9451d4 + 5132e45 commit 5e4f33e

File tree

6 files changed

+34
-7
lines changed

6 files changed

+34
-7
lines changed

.github/workflows/image_publishing.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v3
1515

16+
- name: Free disk space
17+
run: |
18+
echo "Initial disk usage:"
19+
df -h
20+
21+
sudo rm -rf /usr/share/dotnet
22+
sudo rm -rf /usr/local/lib/android
23+
sudo rm -rf /opt/ghc
24+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
25+
26+
echo "After cleanup:"
27+
df -h
28+
1629
1730
- name: Docker meta
1831
id: meta
@@ -40,3 +53,10 @@ jobs:
4053
push: true
4154
tags: ${{ steps.meta.outputs.tags }}
4255
platforms: linux/amd64,linux/arm64
56+
no-cache: true
57+
58+
- name: Cleanup Docker
59+
if: always()
60+
run: |
61+
docker system prune -af || true
62+
df -h

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM debian:stable-slim
22

33
#ARG ARCH=amd64
4-
ARG NRF_CONNECT_TAG=v3.0.1
4+
ARG NRF_CONNECT_TAG=v3.0.2
55
# Should be for selected NRF_CONNECT_TAG
66
ARG ZEPHYR_NEEDED_TAG=0.17.0
77
# For new versions - xz
@@ -48,7 +48,7 @@ RUN ARCH="$(dpkg --print-architecture)" && \
4848
-y && \
4949
# Remove apt cache
5050
rm -rf /var/cache/apt && \
51-
pip3 install --upgrade pip --break-system-packages && \
51+
# pip3 install --upgrade pip --break-system-packages && \
5252
# Create work directory
5353
mkdir /workdir && \
5454
# Get GN tools for matter

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515

1616
- name: Build
17-
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.1
17+
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.2
1818
with:
1919
board: <DK Board Name>
2020
build_dir: build
@@ -35,6 +35,7 @@ uses: embedd-actions/nrf-connect-sdk-ci@v2.9.0
3535
uses: embedd-actions/nrf-connect-sdk-ci@v2.9.1
3636
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.0
3737
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.1
38+
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.2
3839
```
3940
4041
## List of available tags
@@ -54,4 +55,5 @@ v2.9.0
5455
v2.9.1
5556
v3.0.0
5657
v3.0.1
58+
v3.0.2
5759
```

action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,21 @@ inputs:
1111
description: 'Building directory'
1212
required: true
1313
default: 'build'
14+
add_flags:
15+
description: 'Additional flags'
16+
required: true
17+
default: '--no-sysbuild'
1418
runs:
1519
using: 'docker'
16-
image: 'docker://sergeyladanov/nrf-connect-sdk:v3.0.1'
20+
image: 'docker://sergeyladanov/nrf-connect-sdk:v3.0.2'
1721
args:
1822
- west
1923
- build
2024
- --build-dir
2125
- ${{ inputs.build_dir }}
2226
- .
2327
- --pristine
24-
- --no-sysbuild
2528
- --board
2629
- ${{ inputs.board }}
30+
- ${{ input.add_flags }}
2731

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ services:
77
context: .
88
dockerfile: Dockerfile
99
args:
10-
- NRF_CONNECT_TAG=v3.0.1
10+
- NRF_CONNECT_TAG=v3.0.2
1111
- ZEPHYR_NEEDED_TAG=0.17.0
1212
- ZEPHYR_ARCHIVE_EXTENSION=gz

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
/bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -t arm-zephyr-eabi
55
/bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -c
66

7-
exec $@
7+
# exec $@
8+
exec bash -c "$@"

0 commit comments

Comments
 (0)