@@ -15,7 +15,7 @@ if [[ -z "$version" ]]; then
1515 version=$( get_default_version $distro )
1616fi
1717
18- image=" ${DOCKER_REGISTRY} linuxppc/build:$distro -$version "
18+ image=" linuxppc/build:$distro -$version "
1919
2020if [[ " $task " == " image" ]]; then
2121 cmd=" $DOCKER images -q --filter=reference=$image "
@@ -26,7 +26,7 @@ if [[ "$task" == "image" ]]; then
2626 fi
2727elif [[ " $task " == " pull-image" ]]; then
2828 arch_image=" $image -$( uname -m) "
29- cmd=" $DOCKER pull $arch_image "
29+ cmd=" $DOCKER pull ghcr.io/ $arch_image "
3030 (set -x; $cmd )
3131
3232 if [[ $? -ne 0 ]]; then
@@ -58,7 +58,7 @@ elif [[ "$task" == "push-image" ]]; then
5858 fi
5959
6060 # Temporarily tag the image with the arch
61- arch_image=" $image -$( uname -m) "
61+ arch_image=" ghcr.io/ $image -$( uname -m) "
6262 cmd=" $DOCKER tag $image $arch_image "
6363 (set -x; $cmd )
6464 if [[ $? -ne 0 ]]; then
@@ -106,12 +106,12 @@ if [[ -z "$GID" ]]; then
106106 GID=$( id -g)
107107fi
108108
109- from=" ${DOCKER_REGISTRY} $distro :$version "
109+ from=" docker.io/ $distro :$version "
110110
111111if [[ " $distro " == " docs" ]]; then
112- from=" ${DOCKER_REGISTRY} ubuntu:$version "
112+ from=" docker.io/ ubuntu:$version "
113113elif [[ " $distro " == " ubuntu-allcross" ]]; then
114- from=" ${DOCKER_REGISTRY} linuxppc/build:ubuntu-$version "
114+ from=" linuxppc/build:ubuntu-$version "
115115elif [[ " $distro " == " korg" ]]; then
116116 cmd+=" --build-arg compiler_version=$version "
117117
@@ -122,9 +122,9 @@ elif [[ "$distro" == "korg" ]]; then
122122
123123 # Use an older distro for the 5.x toolchains.
124124 if [[ " $version " == 5.* ]]; then
125- from=" ${DOCKER_REGISTRY} ubuntu:16.04"
125+ from=" docker.io/ ubuntu:16.04"
126126 else
127- from=" ${DOCKER_REGISTRY} ubuntu:20.04"
127+ from=" docker.io/ ubuntu:20.04"
128128 fi
129129fi
130130
0 commit comments