mirror of
https://github.com/embedd-actions/nrf-connect-sdk-ci.git
synced 2024-12-26 00:42:24 +03:00
commit
e78b1d32d0
3
.github/workflows/image_publishing.yml
vendored
3
.github/workflows/image_publishing.yml
vendored
@ -3,7 +3,7 @@ name: Publish image
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- 'v*.*.*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -36,6 +36,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
file: Image.Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
1
Action.Dockerfile
Normal file
1
Action.Dockerfile
Normal file
@ -0,0 +1 @@
|
|||||||
|
FROM sergeyladanov/nrf-connect-sdk:v2.4.0
|
@ -1,7 +1,7 @@
|
|||||||
FROM debian:stable-slim
|
FROM debian:stable-slim
|
||||||
|
|
||||||
#ARG ARCH=amd64
|
#ARG ARCH=amd64
|
||||||
ARG NRF_CONNECT_TAG=v2.4.2
|
ARG NRF_CONNECT_TAG=v2.4.0
|
||||||
# Should be for selected NRF_CONNECT_TAG
|
# Should be for selected NRF_CONNECT_TAG
|
||||||
ARG ZEPHYR_NEEDED_TAG=0.16.0
|
ARG ZEPHYR_NEEDED_TAG=0.16.0
|
||||||
# For new versions - xz
|
# For new versions - xz
|
16
README.md
16
README.md
@ -20,3 +20,19 @@ jobs:
|
|||||||
build_dir: build
|
build_dir: build
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## How to specify a version of NRF Connect SDK
|
||||||
|
|
||||||
|
To select the specific version of NRF Connect SDK you
|
||||||
|
can reference a specific version of GitHub action:
|
||||||
|
```
|
||||||
|
uses: embedd-actions/nrf-connect-sdk-ci@v2.3.0
|
||||||
|
uses: embedd-actions/nrf-connect-sdk-ci@v2.4.0
|
||||||
|
```
|
||||||
|
|
||||||
|
## List of available tags
|
||||||
|
|
||||||
|
```
|
||||||
|
v2.3.0
|
||||||
|
v2.4.0
|
||||||
|
```
|
||||||
|
@ -10,7 +10,7 @@ inputs:
|
|||||||
default: 'build'
|
default: 'build'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Action.Dockerfile'
|
||||||
args:
|
args:
|
||||||
- west
|
- west
|
||||||
- build
|
- build
|
||||||
|
@ -5,7 +5,7 @@ services:
|
|||||||
container_name: nrf
|
container_name: nrf
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Image.Dockerfile
|
||||||
args:
|
args:
|
||||||
- NRF_CONNECT_TAG=v2.3.0
|
- NRF_CONNECT_TAG=v2.3.0
|
||||||
- ZEPHYR_NEEDED_TAG=0.15.2
|
- ZEPHYR_NEEDED_TAG=0.15.2
|
||||||
|
Loading…
Reference in New Issue
Block a user