Resolution
Each image tag should be stored in your Git source as a plain, editable tag value, for example image: myorg/my-app:1.4.2, a Kustomize newTag, or a Helm image.tag value. Remove digest-only pins (e.g., @sha256:...) and fully rendered image strings for the images you want Octopus to manage. For Kustomize, also make sure the kustomization file declares both apiVersion: kustomize.config.k8s.io/v1beta1 and kind: Kustomization. The Update Argo CD Application Image Tags step can only replace a tag that already exists as its own value, so when your files hold only digests or pre-built strings, there's nothing for the step to change and it finishes without a commit.
Symptom
The deployment completes successfully, but the Update Argo CD Application Image Tags step doesn't commit anything to the Application's repository. In the task log, the step reports that there's nothing to update for the Application:
Found 1 Argo CD applications to update
Processing application my-app
...
Nothing to update for Application my-app
The lines that explain which file was skipped are logged at Verbose level, so they're hidden in the UI's default task log view. To see them, set the task log level to Verbose:
No changes made to file apps/my-app/deployment.yaml as no image references were updated.
Nothing to update for Application my-app
For a Helm source where the tag path doesn't exist in the values file, you may also see a line like this:
image.tag for image index.docker.io/myorg/my-app:1.4.2 was not found in your values file.
You might also see the following behavior:
- The step and the deployment both finish as successful, with no warnings. The step still triggers an Argo CD sync and reports
All Argo CD applications are synced and healthy, even though nothing changed. - No new commit or pull request appears in the repository Argo CD tracks.
- Argo CD shows the Application as
Syncedon the old image, because Git hasn't changed. - The release shows the new container image version, but the cluster still runs the previous one.
Scope: when this is the right article
This article applies when all of these are true:
- The step found your Argo CD Application. The log shows
Found <n> Argo CD applications to updateandProcessing application <name>, and does not sayNo annotated Argo CD applications could be found for this deployment. - Octopus cloned the repository. The log shows
Cloning repository <url>followed (at Verbose level) byChecking out 'refs/heads/<branch>' @ <commit>, and does not show a Git credential, clone, or403error. - The step ran to completion, but changed no files. The log shows
Nothing to update for Application <name>. - The manifests or values files reference the image by digest, as a single pre-built string, or in some other form that has no separate tag value. Or the source is Kustomize and the kustomization file doesn't declare both
apiVersionandkind.
This isn't the right article if:
- No applications were found. This could be related to annotation scoping instead.
- The step fails with a Git credential or permissions error.
- Your Helm source has no Helm image tag path set, or your Helm annotations are not configured as covered in the Helm path and annotation guidance.
- The image in your manifests doesn't match the container image referenced in the step (wrong name, feed, or registry).
- Your files contain plain tags in a supported location (for Kustomize, in a kustomization file that declares both
apiVersionandkind), and the step still updates nothing. See the known-issue article linked under Related.
Cause
The step updates image tags. At deployment time it finds each container image you referenced in the step and replaces that image's tag with the version from the release. It doesn't resolve or write digests, and it doesn't rebuild image strings.
How the step finds a tag depends on the Application source type:
- Kubernetes YAML: Octopus searches resources that are known to reference images (custom resources, or CRDs, aren't included) and replaces the tag on matching images.
-
Helm: Octopus reads the YAML path you set as the Helm image tag path (or from Helm annotations) and replaces the value at that path in the committed values files. It doesn't edit chart templates or inline
spec.source.helm.valuesObjectvalues. -
Kustomize: Octopus only updates
newTagfields in the Kustomize file. It doesn't edit any other field or file. The kustomization file must declare bothapiVersionandkind: Kustomization. If either field is missing, the step skips the file, even when it contains a plainnewTag.
An image is editable only when the step finds a tag value in one of these places. These common patterns leave nothing for the step to change:
| Pattern in Git | Example | Why the step skips it |
|---|---|---|
| Digest-only pin | image: myorg/my-app@sha256:4f1c... |
There's no tag, only an immutable content hash. |
| Kustomize digest |
digest: sha256:4f1c... with no newTag
|
The step only writes newTag. |
| Kustomize file without a header | A newTag in a kustomization.yaml with no apiVersion or no kind
|
The step only processes kustomization files that declare both fields. |
| Fully rendered string in a Helm value | image: "registry.example.com/myorg/my-app:1.4.1@sha256:4f1c..." |
The value isn't a tag, so it can't be validated or replaced as one. |
| Image built in a chart template | image: "{{ .Values.registry }}/my-app:{{ .Chart.AppVersion }}" |
The tag lives in a template or Chart.yaml, not in a values file the step edits. |
| Placeholder or substituted value |
image: ${APP_IMAGE} or a CMP/plugin-generated value |
There's no literal image reference until something else renders it. |
| Image in a custom resource | An image field in a CRD-based resource | CRDs aren't included in the image search. |
| Inline Helm values | spec.source.helm.valuesObject.image.tag |
The step only edits committed values files. |
Digests are immutable by design: a digest identifies exact image content. To move to a new version, something has to compute and write a new digest. The step works the other way, by writing a mutable tag such as 1.4.2 that the release snapshotted, so it needs that tag to exist as its own field.
Diagnosis and fix
-
Read the Verbose task log for the step. Open the deployment's task log, set the log level to Verbose, and find the
Processing application <name>section for each Application. It shows exactly what Octopus did: -
Reading files from <path>gives the path Octopus read.Found <n> yaml files to processmeans a plain YAML or Helm source, andkustomization file found, processing images and discovering patch filesmeans a Kustomize source. -
Processing file <path>lists each file it checked. -
No changes made to file <path> as no image references were updated.shows a file that held no editable tag for the image. -
For Helm,
<tag path> for image <image> was not found in your values file.means the Helm image tag path doesn't exist in that values file. -
Find the exact source Octopus checked out. In Argo CD, open the Application and note
spec.source.repoURL,spec.source.targetRevision, andspec.source.path. For a multi-source Application, note these for each source. Octopus only reads files under this path, on this branch. -
Confirm the source type. In that path:
-
If you find
kustomization.yaml,kustomization.yml, orKustomization, it's a Kustomize source. - If you find
Chart.yaml, it's a Helm source. Also note any files listed in the Application'sspec.source.helm.valueFiles. -
Otherwise, it's a plain Kubernetes YAML (directory) source.
-
Search the path for image references. Clone the repository, check out
targetRevision, and run:
grep -rnE 'image:|newTag:|newName:|digest:|@sha256:' <path>
For a Helm source, include each file listed in spec.source.helm.valueFiles, even if it sits outside the chart folder.
For a Kustomize source, also check the header of the kustomization file:
grep -nE '^(apiVersion|kind):' <path>/kustomization.yaml
-
Classify each image you expect Octopus to update. Compare what the search returned with the table under Cause:
-
If you see
@sha256:or a Kustomizedigest:field and no tag, the image is pinned by digest. - If a Kustomize file has a plain
newTagbut the header check returns fewer than two lines, the file is missingapiVersionorkind. - If a Helm value holds a whole image string, or the image is assembled in a template, there's no separate tag value.
-
If the image doesn't appear in the path at all, it may live in another folder, another branch, an inline
valuesObject, a CRD, or a generated manifest. Fix where the image is defined first. -
Change the Git source so the tag is its own editable value. Use the form for your source type.
Kubernetes YAML: replace the digest with a tag.
# Before
containers:
- name: my-app
image: myorg/my-app@sha256:4f1c...
# After
containers:
- name: my-app
image: myorg/my-app:1.4.1
Kustomize: use newTag in the images block, remove digest, and make sure the file declares both apiVersion and kind.
# Before
resources:
- deployment.yaml
images:
- name: myorg/my-app
digest: sha256:4f1c...
# After
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
images:
- name: myorg/my-app
newTag: 1.4.1
If your kustomization file already uses newTag but has no apiVersion or kind line, adding those two lines is the only change you need.
Helm: split the image string into separate values in a committed values file, and build the string in the template.
# values.yaml, before
image: "registry.example.com/myorg/my-app:1.4.1@sha256:4f1c..."
# values.yaml, after
image:
repository: registry.example.com/myorg/my-app
tag: "1.4.1"
# templates/deployment.yaml
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
If the tag is currently set in an inline valuesObject, move it into a values file listed in spec.source.helm.valueFiles. Pointing the step at the new tag field is part of Helm path and annotation setup.
-
Commit and push the change to the branch in
targetRevision. Let Argo CD sync it once, so the cluster matches the new, tag-based source before Octopus takes over. -
Redeploy the release in Octopus.
ℹ️
If you rely on digest pinning for supply-chain guarantees, keep in mind that the step can't write digests. Consider tag immutability in your registry, or admission policies that resolve and verify tags, as alternatives.
Verify
After you redeploy:
- The task log no longer reports
Nothing to update for Application <name>. Instead, it shows:
Updated image reference: myorg/my-app:1.4.2
Commit 3323c51e5d pushed
Updated Application my-app
The Updated image reference line is logged at Verbose level.
-
A new commit (or pull request, if you configured one) appears on the tracked branch, changing only the tag value to the release's version. Octopus creates a separate commit for each Application it updates.
-
After Argo CD syncs, the running workload uses the new tag:
kubectl get deploy <name> -n <namespace> -o jsonpath='{..image}'
If the log still shows nothing to update, and all of these are true, the issue could be a bug rather than your configuration:
- The step found the Application and cloned the repository without errors.
- The tag exists as its own value in a supported location for your source type.
- For Kustomize, the kustomization file declares both
apiVersionandkind. - The image name and registry match the container image referenced in the step.
- For Helm, the tag path is set and points at that value.
In that case, see the known-issue article under Related, and contact Octopus support with your raw task log, deployment process step configuration, and the relevant files from your repository if it doesn't match your symptoms.
Related
- Update Argo CD Application Image Tags: how the step finds and replaces tags for Kubernetes YAML, Helm, and Kustomize sources.
- Helm annotations: how to tell Octopus which Helm value holds an image tag when you don't set the path on the step.
- Cluster annotations: how to share a non-default container registry with Octopus so image names match.
- Supported use cases: constraints on Application sources, including read-only Helm repository and OCI sources.
- Troubleshooting Argo CD in Octopus: fixes for missing annotations, Git credentials, and permissions errors.