feat: add linter to ci workflow
Some checks failed
Lint, Build, Scan and Publish Docker Image / build-and-push (push) Failing after 1m17s
Some checks failed
Lint, Build, Scan and Publish Docker Image / build-and-push (push) Failing after 1m17s
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Security Lint Dockerfile (Trivy)
|
- name: Security Lint Dockerfile (Trivy)
|
||||||
run: |
|
run: |
|
||||||
trivy config .
|
trivy config --exit-code 1 --severity CRITICAL,HIGH .
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user