Update .github/workflows/.github-ci.yaml
This commit is contained in:
parent
a824965fb3
commit
adcc3a168c
1 changed files with 7 additions and 5 deletions
12
.github/workflows/.github-ci.yaml
vendored
12
.github/workflows/.github-ci.yaml
vendored
|
@ -14,10 +14,12 @@ jobs:
|
||||||
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/checkout@main
|
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/checkout@main
|
||||||
|
|
||||||
- name: Lint the Repository
|
- name: Lint the Repository
|
||||||
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/lint@rire_action_test
|
run: |
|
||||||
with:
|
which trivy
|
||||||
source: './...'
|
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
|
||||||
|
|
||||||
#- name: Build Docker Container
|
|
||||||
|
|
||||||
#- name: Vulnerability Scanning
|
- name: Vulnerability Scanning
|
||||||
|
run: |
|
||||||
|
trivy image --scanners license,vuln,secret forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest
|
||||||
|
trivy image --image-config-scanners secret,misconfig forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest
|
||||||
|
|
Loading…
Reference in a new issue