diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13d78de1..d04d7d1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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