fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
921 stars 29 forks source link

Issue with Harbor registry and latest tag #376

Closed rchekhina closed 3 months ago

rchekhina commented 3 months ago

HI,

I have an issue with an image on my harbor registry if i put the latest tag I have the following error:

10:38:00.400  INFO whats-up-docker/watcher.docker.local: Cron started (* * * * *)
whatsupdocker-1  | 10:38:00.409 DEBUG whats-up-docker/watcher.docker.local: Start watching (container=local_test-aedas-stripe-service-1)
whatsupdocker-1  | 10:38:00.409 DEBUG whats-up-docker/registry.custom: custom - Get aedas-stripe-service/stg:latest manifest
whatsupdocker-1  | 10:38:00.855  WARN whats-up-docker/watcher.docker.local: Error when processing (404 - {"errors":[{"code":"MANIFEST_UNKNOWN","message":"OCI manifest found, but accept header does not support OCI manifests"}]}) (container=local_test-aedas-stripe-service-1)
whatsupdocker-1  | 10:38:00.856 DEBUG whats-up-docker/watcher.docker.local: 404 - {"errors":[{"code":"MANIFEST_UNKNOWN","message":"OCI manifest found, but accept header does not support OCI manifests"}]} (container=local_test-aedas-stripe-service-1)
whatsupdocker-1  |     StatusCodeError: 404 - {"errors":[{"code":"MANIFEST_UNKNOWN","message":"OCI manifest found, but accept header does not support OCI manifests"}]}
whatsupdocker-1  |         at new StatusCodeError (/home/node/app/node_modules/request-promise-core/lib/errors.js:32:15)
whatsupdocker-1  |         at Request.plumbing.callback (/home/node/app/node_modules/request-promise-core/lib/plumbing.js:104:33)
whatsupdocker-1  |         at Request.RP$callback [as _callback] (/home/node/app/node_modules/request-promise-core/lib/plumbing.js:46:31)
whatsupdocker-1  |         at Request.self.callback (/home/node/app/node_modules/request/request.js:185:22)
whatsupdocker-1  |         at Request.emit (node:events:513:28)
whatsupdocker-1  |         at Request.emit (node:domain:489:12)
whatsupdocker-1  |         at Request.<anonymous> (/home/node/app/node_modules/request/request.js:1154:10)
whatsupdocker-1  |         at Request.emit (node:events:513:28)
whatsupdocker-1  |         at Request.emit (node:domain:489:12)
whatsupdocker-1  |         at IncomingMessage.<anonymous> (/home/node/app/node_modules/request/request.js:1076:12)
whatsupdocker-1  |         at Object.onceWrapper (node:events:627:28)
whatsupdocker-1  |         at IncomingMessage.emit (node:events:525:35)
whatsupdocker-1  |         at IncomingMessage.emit (node:domain:489:12)
whatsupdocker-1  |         at endReadableNT (node:internal/streams/readable:1358:12)
whatsupdocker-1  |         at processTicksAndRejections (node:internal/process/task_queues:83:21)
whatsupdocker-1  | 10:38:00.858  WARN whats-up-docker/watcher.docker.local: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))

on my docker-compose file i have set the followings labels:

    labels:
      - wud.tag.include=latest
      - wud.watch.digest=true
      - wud.watch=true

Can you help me ?

Best regards.