Update .github/workflows/.github-ci.yaml
This commit is contained in:
parent
adcc3a168c
commit
e3c9f6fa62
1 changed files with 10 additions and 1 deletions
11
.github/workflows/.github-ci.yaml
vendored
11
.github/workflows/.github-ci.yaml
vendored
|
@ -18,7 +18,16 @@ jobs:
|
|||
which trivy
|
||||
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
|
||||
|
||||
|
||||
- name: Build and publish
|
||||
uses: DevFW-CICD/build/.github/workflows/build-docker.yml@main
|
||||
with:
|
||||
dockerfile: './Dockerfile'
|
||||
context: '.'
|
||||
tag: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/fibonacci_go/fibonacci_go:latest'
|
||||
registry: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live'
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue