File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ jobs:
111111 vuln-type : ' os,library'
112112 severity : ' CRITICAL,HIGH'
113113 format : json
114- output : trivy-${{ env.BUILD_IMAGE_NAME }}.json
114+ output : trivy-${{ github.workflow }}.json
115115
116116 - name : Build and push Docker image
117117 id : build-and-push-after-sec-scans
@@ -129,13 +129,13 @@ jobs:
129129 labels : ${{ steps.meta.outputs.labels }}
130130
131131 - name : Simple digest descriptor
132- run : echo "Container Digest=${{ steps.build-and-push-after-sec-scans.outputs.digest }}" > digest-${{ env.BUILD_IMAGE_NAME }}.txt
132+ run : echo "Container Digest=${{ steps.build-and-push-after-sec-scans.outputs.digest }}" > digest-${{ github.workflow }}.txt
133133
134134 - name : Create Release
135135 if : ${{ startsWith(github.ref, 'refs/tags/') }}
136136 uses : softprops/action-gh-release@v2
137137 with :
138138 files : |
139- digest-${{ env.BUILD_IMAGE_NAME }}.txt
140- trivy-${{ env.BUILD_IMAGE_NAME }}.json
139+ digest-${{ github.workflow }}.txt
140+ trivy-${{ github.workflow }}.json
141141
You can’t perform that action at this time.
0 commit comments