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:
|
ci:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
container:
|
#container:
|
||||||
image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipe:v0.0.1
|
# image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipe:v0.0.1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Clone Repository
|
#- name: Clone Repository
|
||||||
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
|
||||||
run: |
|
# run: |
|
||||||
which trivy
|
# which trivy
|
||||||
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
|
# golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
docker.io/${{ github.repository }}:latest
|
docker.io/${{ github.repository }}:latest
|
||||||
push: 'true'
|
push: 'true'
|
||||||
|
|
||||||
- name: Vulnerability Scanning
|
#- name: Vulnerability Scanning
|
||||||
run: |
|
# run: |
|
||||||
trivy image --scanners license,vuln,secret forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest
|
# 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
|
# 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