Real-World Code Search Recipes/Find container image references

Search YAML and Helm files for image tags.

Section: Logs, docs, and ops recipes

Find container image references

bash
bash
rg -t yaml 'image:\s' deploy/ charts/
Explanation

Helpful during security updates and registry migrations.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Logs, docs, and ops recipes
Search for 5xx errors in logs
Find common server-side error lines.
OpenIn sheetbashsame section
Find Markdown links
Extract or inspect inline links in docs.
OpenIn sheetbashsame section
Find Terraform resource blocks
Search infrastructure code for a resource type.
OpenIn sheetbashsame section
Find OpenAPI operation IDs
Search specs for operation identifiers.
OpenIn sheetbashsame section
Find debug logging in source code
Locate `console.log` usage across a codebase.
OpenIn sheetbash1 tag match
Search for AWS access key patterns
Look for common credential shapes.
OpenIn sheetbash1 tag match