<p>I am trying to use the ArgoCd-image-updater , but it is giving me the below error</p>
<pre><code>time=&quot;2022-09-13T15:40:02Z&quot; level=debug msg=&quot;Using version constraint '^0.1' when looking for a new tag&quot; alias= application=ms-echoserver-imageupdate-test image_name=test-build/argo-imageupdater-test image_tag=0.9 registry=gcr.io
time=&quot;2022-09-13T15:40:02Z&quot; level=error msg=&quot;Could not get tags from registry: denied: Failed to read tags for host 'gcr.io', repository '/v2/test-build/argo-imageupdater-test/tags/list'&quot; alias= application=ms-echoserver-imageupdate-test image_name=test-build/argo-imageupdater-test image_tag=0.9 registry=gcr.io
time=&quot;2022-09-13T15:40:02Z&quot; level=info msg=&quot;Processing results: applications=1 images_considered=1 images_skipped=0 images_updated=0 errors=1&quot;
</code></pre>
<p>My argocd image updater config file:-</p>
<pre><code>apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-image-updater-config
  labels:
    app.kubernetes.io/name: argocd-image-updater-config
    app.kubernetes.io/part-of: argocd-image-updater

data:
  log.level: debug
  registries.conf: |
    registries:
    - name: Google Container Registry
      api_url: https://gcr.io
      ping: no
      prefix: gcr.io
      credentials: pullsecret:argocd/gcr-imageupdater
      #credentials: secret:argocd/sundayy#creds

</code></pre>
<p>Note:- Secret is having owner permission.</p>

gaurav agnihotri
<p>I had the same issue. In my case the problem was that I was using the <em>test</em> command without specifing the configuration of the registry because I assumed that it will take the default config file, but it doesn't. So try this:</p>
<pre><code>argocd-image-updater test gcr.io/myproject/myimage --registries-conf-path=&quot;/app/config/registries.conf&quot;
</code></pre>
<p>Or use the command <em>run</em> instead of <em>test</em></p>
<p>Hope it helps.</p>
