Interview Prep/CI/CD/GitHub Actions and GitLab CI in Production

How do you version and publish a Docker image and Helm chart together?

IntermediateProductionGitHub Actions and GitLab CI in Production
Answer

Use the same release tag for both: the pipeline builds api:1.7.0 (plus SHA tag), packages the chart with --version 1.7.0 --app-version 1.7.0, and pushes both to the OCI registry. The chart's default image.tag uses appVersion. For GitOps, the config repo pins both chart version and image tag per environment, and promotion is a PR updating those pins.

All CI/CD questions Roadmap: GitLab CI/CD

More on GitHub Actions and GitLab CI in Production