diff --git a/README.md b/README.md index 4dc0403..684a144 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 defc7d9..c2ac6c7 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