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

Improve FindDockerImageUses recipe with multistage files and gitlab-ci files #9

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jevanlingen
Copy link

@jevanlingen jevanlingen commented Dec 23, 2024

What's changed?

Use the new IMAGE reference type to improve the FindDockerImageUses recipe. The updated recipes has proper support for multistage dockerfiles and yaml files with an image key (for example a .gitlab-ci file).

What's your motivation?

Run one find (and replace?) recipe to search for your docker images in one go, no matter how the image has been configured.

Note

Notice the IMAGE reference type is also newly introduced in:

Any additional context

This work is a step-up for integration of more ImageProviders. For example, testcontainers is also a project which uses images.

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@jevanlingen
Copy link
Author

Notice build will fail until

will be merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready to Review
Development

Successfully merging this pull request may close these issues.

1 participant