Interview Prep/Helm/Dependencies, Repositories & OCI

`Error: invalid_reference: invalid tag` when pushing or pulling a chart with version `1.4.0+build.7`.

IntermediateTroubleshootingDependencies, Repositories & OCI
Answer

Likely causes → OCI tags cannot contain +. Helm converts + to _ on push, so the tag in the registry is 1.4.0_build.7; tools or scripts using the raw version fail.

Diagnose → aws ecr list-images --repository-name charts/shop or crane ls.

Fix → Reference the version with + in helm pull --version (Helm translates), or avoid build metadata in chart versions; use pre-release (1.4.0-build.7) or a plain patch bump.

Prevent → CI derives chart versions without +.

All Helm questions Roadmap: Helm

More on Dependencies, Repositories & OCI