Skip to content

Commit b7f3461

Browse files
authored
Merge pull request #1327 from FalkorDB/staging
Staging
2 parents ff9115a + b435e6c commit b7f3461

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,14 @@ jobs:
5757
CYPHER_VERSION=${{ env.CYPHER_VERSION }}
5858
load: true
5959

60+
- name: Extract Trivy tag
61+
run: |
62+
echo "TRIVY_TAG=$(echo '${{ env.TAGS }}' | cut -d',' -f1)" >> $GITHUB_ENV
63+
6064
- name: Run Trivy vulnerability scanner
6165
uses: aquasecurity/trivy-action@22438a435773de8c97dc0958cc0b823c45b064ac
6266
with:
63-
image-ref: ${{ env.TAGS }}
67+
image-ref: ${{ env.TRIVY_TAG }}
6468
format: 'table'
6569
exit-code: '1'
6670
ignore-unfixed: true

0 commit comments

Comments
 (0)