Update .github/workflows/.github-ci.yaml
Some checks failed
ci-workflow / ci (push) Failing after 9s
Some checks failed
ci-workflow / ci (push) Failing after 9s
This commit is contained in:
parent
b568e86504
commit
cf189584fe
1 changed files with 12 additions and 12 deletions
24
.github/workflows/.github-ci.yaml
vendored
24
.github/workflows/.github-ci.yaml
vendored
|
@ -5,18 +5,18 @@ jobs:
|
|||
ci:
|
||||
runs-on: docker
|
||||
|
||||
container:
|
||||
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipe:v0.0.1
|
||||
#container:
|
||||
# image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipe:v0.0.1
|
||||
|
||||
steps:
|
||||
|
||||
- name: Clone Repository
|
||||
uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/checkout@main
|
||||
#- name: Clone Repository
|
||||
# uses: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/checkout@main
|
||||
|
||||
- name: Lint the Repository
|
||||
run: |
|
||||
which trivy
|
||||
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
|
||||
#- name: Lint the Repository
|
||||
# run: |
|
||||
# which trivy
|
||||
# golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -31,7 +31,7 @@ jobs:
|
|||
docker.io/${{ github.repository }}:latest
|
||||
push: 'true'
|
||||
|
||||
- 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
|
||||
#- 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