jansppenrade2 / Docker-Container-Updater

Automatic Docker Container Updater
The Unlicense
6 stars 2 forks source link

Feature Request: Support for other image repositories: GitHub Container Repository (ghcr.io) #28

Open skyw33 opened 1 month ago

skyw33 commented 1 month ago

I'm getting this error presumably because it only supports docker hub? [2024/09/17 09:54:25] ERROR => Failed to request available image tags: wget https://registry.hub.docker.com/v2/repositories/ghcr.io/home-assistant/home-assistant/tags

jansppenrade2 commented 1 month ago

Hey again,

just got back from vacation — catching up on a bunch of messages, as you can imagine. 😅 Mind sending me the full URL for that image so I can dig into it? And yeah, you’re spot on: it’s only Docker Hub for now.

skyw33 commented 1 month ago

Well, I'm not sure what the full URL is. I can use "docker pull" without the full URL. For example this works: docker pull ghcr.io/home-assistant/home-assistant:stable

skyw33 commented 1 month ago

Maybe this comment is helpful... https://github.com/orgs/community/discussions/26279#discussioncomment-3251172

jansppenrade2 commented 6 hours ago

Hey @skyw33,

I’ve added support for ghcr.io, but heads up—digest updates of the same image tag aren’t picked up yet, and minimum age checks for new images on ghcr.io are skipped for now. Still need a bit more time to work that part out.

I hope these tweaks give you what you’re looking for. Go ahead, test it out, and drop me a line if you’ve got any feedback.

Cheers

skyw33 commented 5 hours ago

You're awesome! I will try it out tonight and let you know...