Skip to content
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

Conversation

rahulreddy15
Copy link
Contributor

Successfully tested with the reusable workflow reusable_nightly.yaml.
PR needs to be merged after this newrelic/coreint-automation#97 is merged.

@rahulreddy15 rahulreddy15 requested a review from a team as a code owner December 11, 2024 09:12
@sigilioso sigilioso requested a review from a team December 11, 2024 14:43
Copy link
Contributor

@rajrohanyadav rajrohanyadav left a 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?

.github/workflows/nightly.yaml Outdated Show resolved Hide resolved
Comment on lines +28 to +30
setup_qemu: true
setup_buildx: true
setup_go: true
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

@rahulreddy15
Copy link
Contributor Author

I'm wondering why this change is required? Will we use this workflow in some other repos?

Yeah. All the integrations that release docker images will use it.

Copy link
Contributor

@rajrohanyadav rajrohanyadav left a comment

Choose a reason for hiding this comment

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

LGTM

@rahulreddy15 rahulreddy15 merged commit a26cdff into main Dec 13, 2024
14 checks passed
@rahulreddy15 rahulreddy15 deleted the NR-341878-use-reusable-workflow-for-docker-image-security-checks branch December 13, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants