-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circleci: Update nightly trivy scan #930
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
0d08f6d
circleci trivy scan
usmansaleem 057f10c
install trivy in home/bin
usmansaleem 20155b4
full docker image name
usmansaleem 0b81224
docker images
usmansaleem 8d8f2a5
setup remote docker
usmansaleem 76dc3ef
docker manifest
usmansaleem 332c7b2
clear cache
usmansaleem 2c173f3
revert clear cache
usmansaleem cdb799a
use docker tar file
usmansaleem 0492d29
version
usmansaleem e92c3b9
image reset
usmansaleem 3722004
use image src as docker
usmansaleem 186b548
CircleCI: nightly trivy scan. Scan both amd and arm variants
usmansaleem e86669f
CircleCI: revert dockerScan for debugging
usmansaleem 6606c3f
Merge remote-tracking branch 'upstream/master' into trivy_scan
usmansaleem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What were the previous values of $FILE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we used to have
docker/jdk17/Dockerfile
anddocker/jdk11/Dockerfile
. Hence we used to create/publishconsensys/web3signer:develop-java11
andconsensys/web3signer:develop-java17
. Since we now default to java17 variant, thedevelop
tag now points todevelop-java17
. In addition, we further publish platform specific variants as well i.e.develop-amd64
anddevelop-arm64
. Similarly,develop-java17-amd64
anddevelop-java17-arm64
In summary, we only need to test/scan
develop
tag unless we introducejava21
tag along withjava17
tag. We were also only scanningdevelop-amd64
variant in past as CircleCI trivy job runs on Linux amd64 environment. Now we make sure to scan both amd64 and arm64 variants (as both of them are built separately).