Skip to content

Commit

Permalink
fix: extracting docker image for scan correctly (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
freemanzMrojo authored Nov 7, 2024
1 parent 2c65ef2 commit 91985f3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/rpc-proxy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,11 @@ jobs:
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Split tags and get the first value for scanning
id: split-tags
run: echo "first-tag=$(echo '${{ steps.meta.outputs.tags }}' | cut -d',' -f1)" >> $GITHUB_OUTPUT

- name: Run Trivy Scan
uses: aquasecurity/trivy-action@master
with:
image-ref: ${{ steps.split-tags.outputs.first-tag }}
image-ref: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
format: 'table'
ignore-unfixed: true
exit-code: '1'
Expand Down

1 comment on commit 91985f3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Coverage

Summary

Lines Statements Branches Functions
Coverage: 99%
98.99% (4334/4378) 97.61% (1390/1424) 99% (891/900)
Title Tests Skipped Failures Errors Time
core 810 0 πŸ’€ 0 ❌ 0 πŸ”₯ 2m 21s ⏱️
network 726 0 πŸ’€ 0 ❌ 0 πŸ”₯ 5m 3s ⏱️
errors 42 0 πŸ’€ 0 ❌ 0 πŸ”₯ 18.004s ⏱️
logging 3 0 πŸ’€ 0 ❌ 0 πŸ”₯ 19.022s ⏱️
hardhat-plugin 19 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 6s ⏱️
aws-kms-adapter 23 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 28s ⏱️
ethers-adapter 5 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 14s ⏱️
rpc-proxy 37 0 πŸ’€ 0 ❌ 0 πŸ”₯ 1m 7s ⏱️

Please sign in to comment.