File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 59
59
path : ${{ env.tar_file }}
60
60
retention-days : 1
61
61
62
- scan-docker-image-with-trivy :
62
+ scan-docker-image-with-gokakashi :
63
63
needs : build-docker-image
64
64
runs-on : ubuntu-latest
65
65
steps :
@@ -72,10 +72,15 @@ jobs:
72
72
run : |
73
73
docker load -i ${{ needs.build-docker-image.outputs.tar_file }}
74
74
75
- - name : Run Trivy vulnerability scan
76
- uses : aquasecurity/trivy -action@master
75
+ - name : Scan docker image with gokakashi
76
+ uses : shinobistack/gokakashi -action@v0.1.1
77
77
with :
78
78
image-ref : ' ${{ needs.build-docker-image.outputs.image_name }}'
79
- format : ' table'
80
- exit-code : 1
81
- severity : ' CRITICAL,HIGH'
79
+ labels : agentKey=${{ github.run_id }}
80
+ policy : ci-platform
81
+ server : https://gokakashi-server.hasura-app.io
82
+ token : ${{ secrets.GOKAKASHI_API_TOKEN }}
83
+ cf_client_id : ${{ secrets.CF_ACCESS_CLIENT_ID }}
84
+ cf_client_secret : ${{ secrets.CF_ACCESS_CLIENT_SECRET }}
85
+ interval : 10
86
+ retries : 8
You can’t perform that action at this time.
0 commit comments