added trivy
This commit is contained in:
parent
2b0239e099
commit
f9e0a537a2
2 changed files with 12 additions and 0 deletions
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
|
@ -28,3 +28,12 @@ jobs:
|
|||
registry: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live'
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
build-trivy:
|
||||
uses: DevFW-CICD/build/.github/workflows/build-docker.yml@main
|
||||
with:
|
||||
dockerfile: './Dockerfile'
|
||||
context: './trivy'
|
||||
tag: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipeline-container/trivy:0.56.2'
|
||||
registry: 'forgejo.edf-bootstrap.cx.fg1.ffm.osc.live'
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
|
3
trivy/Dockerfile
Normal file
3
trivy/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM --platform=linux/amd64 aquasec/trivy:0.56.2
|
||||
|
||||
RUN apk add --no-cache git
|
Loading…
Reference in a new issue