Skip to content

Commit 0554645

Browse files
fix file name for trivvy
1 parent 80be4b9 commit 0554645

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)