Skip to content

Commit

Permalink
ci: use explicit relay version tag in Trivy Scan step
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Mar 14, 2024
1 parent 67fef51 commit bcdde3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ jobs:
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/386
- name: Build Docker Images
run: make products-for-release
- name: Get current Relay version
id: image-tag
run:
echo "value=$(jq -r '.version' < dist/metadata.json)" >> $GITHUB_OUTPUT
- uses: aquasecurity/trivy-action@master
with:
image-ref: launchdarkly/ld-relay:latest
image-ref: launchdarkly/ld-relay:${{ steps.image-tag.outputs.value }}-amd64
format: 'table'
exit-code: '1'
ignore-unfixed: true

0 comments on commit bcdde3e

Please sign in to comment.