From 3826a26fac45b90b3f12988927df59c7817b11fc Mon Sep 17 00:00:00 2001 From: "Benjamin W. Broersma" Date: Fri, 20 Dec 2024 17:48:09 +0100 Subject: [PATCH] Fix auto_update DOCKER_REGISTRY default Fixes #1601 Use ${DOCKER_REGISTRY:-ghcr.io/internetstandards} instead of $DOCKER_REGISTRY. --- docker/cron-docker/periodic/15min/auto_update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/cron-docker/periodic/15min/auto_update b/docker/cron-docker/periodic/15min/auto_update index ab6f23550..54f374b7c 100755 --- a/docker/cron-docker/periodic/15min/auto_update +++ b/docker/cron-docker/periodic/15min/auto_update @@ -33,6 +33,6 @@ docker run --pull=always --network none \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume $HOME/.docker:/root/.docker \ --volume /opt/Internet.nl:/opt/Internet.nl \ - --env "DOCKER_REGISTRY=$DOCKER_REGISTRY" \ - "$DOCKER_REGISTRY/util:$UPSTREAM_RELEASE" \ + --env "DOCKER_REGISTRY=${DOCKER_REGISTRY:-ghcr.io/internetstandards}" \ + "${DOCKER_REGISTRY:-ghcr.io/internetstandards}/util:$UPSTREAM_RELEASE" \ /deploy.sh