From 847b6eb1c512c8b8fcdd3c76fe31d273c85cb426 Mon Sep 17 00:00:00 2001 From: Kaan Barmore-Genc Date: Thu, 16 Mar 2023 00:10:45 -0400 Subject: [PATCH] Upload to ghcr.io, document the fact that it's there --- README.md | 10 ++++++++-- make-release.sh | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 80dd972..5033006 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,14 @@ Download the latest version from the releases page, extract it from the archive, ### With docker -Use the [seriousbug/gandi-live-dns-rust](https://hub.docker.com/r/seriousbug/gandi-live-dns-rust) Docker images, which are available for x86_64, -arm64, armv6, and armv7 platforms. Follow the steps below to use these images. +Container images are available on both Github Packages and Docker Hub. +- [ghcr.io/seriousbug/gandi-live-dns-rust](https://github.com/users/seriousbug/packages/container/package/gandi-live-dns-rust) +- [docker.io/seriousbug/gandi-live-dns-rust](https://hub.docker.com/r/seriousbug/gandi-live-dns-rust) + +The container images are built multi-arch, with support for x86_64, arm64, +armv7, and armv6 platforms. Follow the steps below to use them. You can use +`seriousbug/gandi-live-dns-rust` directly which will default to Docker Hub, +otherwise add `ghcr.io` in the examples below to use Github Packages. - Create a file `gandi.toml`, then copy and paste the contents of [`example.toml`](https://raw.githubusercontent.com/SeriousBug/gandi-live-dns-rust/master/example.toml) - Follow the instructions in the example config to get your API key and put it in the config diff --git a/make-release.sh b/make-release.sh index 352053e..83720b2 100755 --- a/make-release.sh +++ b/make-release.sh @@ -77,4 +77,6 @@ ${DOCKER} buildx build . \ --file "Dockerfile" \ --tag "seriousbug/gandi-live-dns-rust:latest" \ --tag "seriousbug/gandi-live-dns-rust:${VERSION}" \ + --tag "ghcr.io/seriousbug/gandi-live-dns-rust:latest" \ + --tag "ghcr.io/seriousbug/gandi-live-dns-rust:${VERSION}" \ --push