From 0e2a3a49202ce0b85a4941d2c5baaeebd44e4a23 Mon Sep 17 00:00:00 2001 From: MoeBrowne Date: Sun, 31 Aug 2025 12:22:01 +0100 Subject: [PATCH] Replaces ghrc.io with ghcr.io --- packaging/docker/publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/docker/publish.sh b/packaging/docker/publish.sh index 6f0ac19f7d..f7806a947e 100755 --- a/packaging/docker/publish.sh +++ b/packaging/docker/publish.sh @@ -15,12 +15,12 @@ docker image inspect "${image}":latest > /dev/null # Log into container registry FLEXFLOW_CONTAINER_TOKEN=${FLEXFLOW_CONTAINER_TOKEN:-} -if [ -z "$FLEXFLOW_CONTAINER_TOKEN" ]; then echo "FLEXFLOW_CONTAINER_TOKEN secret is not available, cannot publish the docker image to ghrc.io"; exit; fi +if [ -z "$FLEXFLOW_CONTAINER_TOKEN" ]; then echo "FLEXFLOW_CONTAINER_TOKEN secret is not available, cannot publish the docker image to ghcr.io"; exit; fi echo "$FLEXFLOW_CONTAINER_TOKEN" | docker login ghcr.io -u flexflow --password-stdin # Tag image to be uploaded git_sha=${GITHUB_SHA:-$(git rev-parse HEAD)} -if [ -z "$git_sha" ]; then echo "Commit hash cannot be detected, cannot publish the docker image to ghrc.io"; exit; fi +if [ -z "$git_sha" ]; then echo "Commit hash cannot be detected, cannot publish the docker image to ghcr.io"; exit; fi docker tag "$image":latest ghcr.io/flexflow/"$image":latest # Upload image