feat: add linter to ci workflow
This commit is contained in:
@@ -24,8 +24,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Security Lint Dockerfile (Trivy)
|
- name: Security Lint Dockerfile (Trivy)
|
||||||
run: |
|
run: |
|
||||||
|
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin
|
||||||
trivy config --server http://trivy-server:8080 .
|
trivy config --server http://trivy-server:8080 .
|
||||||
|
|
||||||
|
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user