# A chart has version 1.4.0+build.7 in Chart.yaml. Which tag does helm push store it under in an OCI registry?

Helm, Hard (Expert), Repositories. https://k8wiz.com/uquiz/a-chart-has-version-140build7-in-chartyaml-which-tag-does-helm-push-store-it-under-in-an-oci-registry

- A. 1.4.0, with build metadata dropped
- B. 1.4.0-build.7, as a pre-release
- C. 1.4.0_build.7, with + replaced by _
- D. None, since helm push rejects the version

**Answer:** 1.4.0_build.7, with + replaced by _

**Explanation:** OCI tags can't contain a plus sign, so Helm replaces + with _ when it pushes and turns _ back into + when it reads tags during a pull or install. You keep using --version 1.4.0+build.7 on the Helm side. Helm doesn't drop the build metadata or turn it into a pre-release, which would change how the version sorts.
