Merge pull request #12 from embedd-actions/test

Test
This commit is contained in:
Sergey 2023-09-20 11:31:52 +03:00 committed by GitHub
commit bf44a4f405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 11 deletions

View File

@ -36,7 +36,7 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
file: Image.Dockerfile file: 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

View File

@ -1 +0,0 @@
FROM sergeyladanov/nrf-connect-sdk:v2.4.2

View File

@ -1,11 +1,11 @@
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.3.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.15.2
# For new versions - xz # For new versions - xz
ARG ZEPHYR_ARCHIVE_EXTENSION=xz ARG ZEPHYR_ARCHIVE_EXTENSION=gz
# For entrypoint file # For entrypoint file
ENV ZEPHYR_TAG=$ZEPHYR_NEEDED_TAG ENV ZEPHYR_TAG=$ZEPHYR_NEEDED_TAG

View File

@ -27,14 +27,10 @@ To select the specific version of NRF Connect SDK you
can reference a specific version of GitHub action: 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.3.0
uses: embedd-actions/nrf-connect-sdk-ci@v2.4.0
``` ```
## List of available tags ## List of available tags
``` ```
v2.3.0 v2.3.0
v2.4.0
v2.4.1
v2.4.2
``` ```

View File

@ -1,5 +1,8 @@
name: 'NRF Connect SDK CI action' name: 'NRF Connect SDK CI action'
description: 'Building nrf connect sdk projects' description: 'Building nrf connect sdk projects'
branding:
color: blue
icon: Link
inputs: inputs:
board: # id of input board: # id of input
description: 'Board for build' description: 'Board for build'
@ -10,7 +13,7 @@ inputs:
default: 'build' default: 'build'
runs: runs:
using: 'docker' using: 'docker'
image: 'Action.Dockerfile' image: 'docker://sergeyladanov/nrf-connect-sdk:v2.3.0'
args: args:
- west - west
- build - build

View File

@ -5,7 +5,7 @@ services:
container_name: nrf container_name: nrf
build: build:
context: . context: .
dockerfile: Image.Dockerfile dockerfile: 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