title: Deploy helm chart from Azure Container Registry
body: <p>I have a multistage pipeline with the following</p>
  <p>Stage build:</p>
  <ol>
  <li>build docker image</li>
  <li>push image to ACR</li>
  <li>package helm chart</li>
  <li>push helm chart to ACR</li>
  </ol>
  <p>Stage deployment:</p>
  <ol>
  <li>helm upgrade</li>
  </ol>
  <p><strong>Push helm chart to AKS:</strong></p>
  <pre><code> task: HelmDeploy@0
   displayName: 'helm publish'
   inputs:
     azureSubscriptionForACR: '$(azureSubscription)'
     azureResourceGroupForACR: '$(resourceGroup)'
     azureContainerRegistry: '$(containerRegistry)'
     command: 'save'
     arguments: '--app-version $(Version)'
     chartNameForACR: 'charts/$(imageRepository):$(Version)'
     chartPathForACR: $(chartPath)
  </code></pre>
  <p><strong>Deploy helm chart to AKS:</strong></p>
  <pre><code>  task: HelmDeploy@0
    inputs:
      connectionType: 'Kubernetes Service Connection'
      kubernetesServiceConnection: '$(kubernetesServiceConnection)'
      command: 'upgrade'
      chartType: 'Name'
      chartName: '$(containerRegistry)/charts/$(imageRepository):$(Version)'
      chartVersion: '$(Version)'
      azureSubscriptionForACR: '$(azureSubscription)'
      azureResourceGroupForACR: '$(resourceGroup)'
      azureContainerRegistry: '$(containerRegistry)'
      install: true
      releaseName: $(Version)
  </code></pre>
  <p><strong>Error:</strong></p>
  <pre><code>failed to download &quot;&lt;ACR&gt;/charts/&lt;repository&gt;:0.9.26&quot; at version &quot;0.9.26&quot; (hint: running `helm repo update` may help)
  </code></pre>
  <p><strong>ACR:</strong>
  <code>az acr repository show-manifests --name &lt;org&gt; --repository helm/charts/&lt;repository&gt; --detail</code></p>
  <pre><code>  {
      &quot;changeableAttributes&quot;: {
        &quot;deleteEnabled&quot;: true,
        &quot;listEnabled&quot;: true,
        &quot;readEnabled&quot;: true,
        &quot;writeEnabled&quot;: true
      },
      &quot;configMediaType&quot;: &quot;application/vnd.cncf.helm.config.v1+json&quot;,
      &quot;createdTime&quot;: &quot;2021-02-02T11:54:54.1623765Z&quot;,
      &quot;digest&quot;: &quot;sha256:fe7924415c4e76df370630bbb0248c9296f27186742e9272eeb87b2322095c83&quot;,
      &quot;imageSize&quot;: 3296,
      &quot;lastUpdateTime&quot;: &quot;2021-02-02T11:54:54.1623765Z&quot;,
      &quot;mediaType&quot;: &quot;application/vnd.oci.image.manifest.v1+json&quot;,
      &quot;tags&quot;: [
        &quot;0.9.26&quot;
      ]
    }
  </code></pre>
  <p>What am I doing wrong? Do I have to <code>export</code> the helm chart from ACR before I can deploy it?</p>