Add Dockerfiles for Neuron DLC with SDK 2.20.1 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |