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.
More on GitHub Actions and GitLab CI in Production
How do you organise reusable workflows for an organisation on GitHub?IntermediateHow do you reduce GitHub Actions minutes cost on private repos?IntermediateHow do you secure self-hosted runners?AdvancedHow do you design the GitHub Actions OIDC trust policy for AWS safely?AdvancedHow do you handle approvals and deployments across environments in GitHub Actions?IntermediateHow do you handle required checks when workflows use path filters or matrices?Advanced