File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,24 @@ name: "Publish images"
22
33on :
44 push :
5+ workflow_dispatch :
56
67permissions :
78 packages : write
9+ actions : read
10+ contents : write
11+ security-events : write
812
913jobs :
1014 publish-images :
1115 if : github.run_number > 1
1216 uses : NethServer/ns8-github-actions/.github/workflows/publish-branch.yml@v1
17+ module :
18+ needs : publish-images
19+ uses : NethServer/ns8-github-actions/.github/workflows/module-info.yml@v1
20+ trivy :
21+ needs : module
22+ if : ${{ needs.module.outputs.release == 'stable' || needs.module.outputs.release == 'latest' || github.event_name == 'workflow_dispatch' }}
23+ uses : NethServer/ns8-github-actions/.github/workflows/scan-with-trivy.yml@v1
24+ with :
25+ images : ${{ needs.module.outputs.images }}
You can’t perform that action at this time.
0 commit comments