Skip to content

Add Dockerfiles for Neuron DLC with SDK 2.20.2 #42

Add Dockerfiles for Neuron DLC with SDK 2.20.2

Add Dockerfiles for Neuron DLC with SDK 2.20.2 #42

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
jobs:
dockerfile-linter:
runs-on: ubuntu-latest
env:
HADOLINT_RECURSIVE: "true"
steps:
- uses: actions/checkout@v4
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile.neuron
recursive: true
failure-threshold: error # TODO: enable more linter rules other than error.
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile.neuronx
recursive: true
failure-threshold: error
secrets-scanning:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: trufflesecurity/trufflehog@main
with:
extra_args: --only-verified