From 76a78cf45bd0cb3bee593032cc63f25154169184 Mon Sep 17 00:00:00 2001 From: Sergey Sannikov Date: Wed, 30 Sep 2026 00:12:44 +0400 Subject: [PATCH] docs: point the image address at the GitHub Container Registry The image workflow has been publishing to ghcr.io/bb-ricardo/netbox-sync next to Docker Hub for every development build and tag. Make the GHCR address the documented one in the README and in the Kubernetes CronJob example, and say that v1.9.0 is the last release pushed to Docker Hub so current users get one release cycle to switch. The workflow keeps pushing to both registries for this release; the Docker Hub steps go away after it. --- README.md | 12 ++++++++---- k8s-netbox-sync-cronjob.yaml | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4dc04033..684a1448 100644 --- a/README.md +++ b/README.md @@ -207,21 +207,25 @@ In Order to sync all items regularly you can add a cron job like this one ## Docker -Run the application in a docker container. You can build it yourself or use the ones from docker hub. +Run the application in a docker container. You can build it yourself or use the published images. -Available here: [bbricardo/netbox-sync](https://hub.docker.com/r/bbricardo/netbox-sync) +Available here: [ghcr.io/bb-ricardo/netbox-sync](https://github.com/bb-Ricardo/netbox-sync/pkgs/container/netbox-sync) + +Images used to be published on Docker Hub as [bbricardo/netbox-sync](https://hub.docker.com/r/bbricardo/netbox-sync). +v1.9.0 is the last release pushed there; later releases are only published on the GitHub Container Registry, +so switch the pull address to `ghcr.io/bb-ricardo/netbox-sync`. * The application working directory is ```/app``` * Required to mount your ```settings.ini``` To build it by yourself just run: ```shell -docker build -t bbricardo/netbox-sync:latest . +docker build -t ghcr.io/bb-ricardo/netbox-sync:latest . ``` To start the container just use: ```shell -docker run --rm -it -v $(pwd)/settings.ini:/app/settings.ini bbricardo/netbox-sync:latest +docker run --rm -it -v $(pwd)/settings.ini:/app/settings.ini ghcr.io/bb-ricardo/netbox-sync:latest ``` ## Kubernetes diff --git a/k8s-netbox-sync-cronjob.yaml b/k8s-netbox-sync-cronjob.yaml index defc7d9e..c2ac6c7d 100644 --- a/k8s-netbox-sync-cronjob.yaml +++ b/k8s-netbox-sync-cronjob.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: netbox-sync - image: bbricardo/netbox-sync:latest + image: ghcr.io/bb-ricardo/netbox-sync:latest imagePullPolicy: IfNotPresent args: - -c