-
Notifications
You must be signed in to change notification settings - Fork 47
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
Nr 341878 use reusable workflow for docker image security checks #509
Nr 341878 use reusable workflow for docker image security checks #509
Conversation
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.
I'm wondering why this change is required? Will we use this workflow in some other repos?
setup_qemu: true | ||
setup_buildx: true | ||
setup_go: true |
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.
nit
I believe these are always needed when building docker images. I'd have put defaults as true
to avoid these inputs every time.
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.
Some don't need buildx and build with a command. Buildx does more than building. Same with others.
There are exceptions so I had to include them.
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.
Some don't need buildx and build with a command
AFAIK, buildx
is needed when we need to build multi-arch images. And we mostly do that. I'm not sure when we wouldn't need it. But not a major thing.
Yeah. All the integrations that release docker images will use it. |
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.
LGTM
Successfully tested with the reusable workflow reusable_nightly.yaml.
PR needs to be merged after this newrelic/coreint-automation#97 is merged.