Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dockerfile linter in CI #2

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Add dockerfile linter in CI #2

merged 1 commit into from
Jan 10, 2024

Conversation

ningziwen
Copy link
Collaborator

@ningziwen ningziwen commented Jan 10, 2024

Add dockerfile linter in CI

Had to add two steps for neuron and neuronx.
Hadolint-action supports multiple Dockerfiles by pattern but seems not arbitrary two names.
Using pattern "Dockerfile.*" will include cve allowlists and they cannot be excluded.

Only fail on error for now. Can refactor to remove warning and info later.

@ningziwen ningziwen force-pushed the linter branch 3 times, most recently from 4a4e888 to 219c9b0 Compare January 10, 2024 21:43
@ningziwen ningziwen changed the title Add dockerfile linter Add dockerfile linter in CI Jan 10, 2024
@ningziwen ningziwen marked this pull request as ready for review January 10, 2024 21:57
@aws-anantsh aws-anantsh merged commit bfdb65c into main Jan 10, 2024
1 check passed
@ningziwen ningziwen deleted the linter branch January 10, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants