diff --git a/Dockerfile b/Dockerfile index 892aac1d5b..223173589c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ RUN set -x && \ apk add --no-cache rpm-dev; \ fi -RUN GOCR_VERSION="v0.5.1" && \ +RUN GOCR_VERSION="v0.20.2" && \ if [ "${ARCH}" = "arm64" ]; then \ wget https://github.com/google/go-containerregistry/releases/download/${GOCR_VERSION}/go-containerregistry_Linux_arm64.tar.gz && \ tar -zxvf go-containerregistry_Linux_arm64.tar.gz && \ diff --git a/scripts/build-windows-images b/scripts/build-windows-images index 12a3bcf8eb..fdd55084a7 100755 --- a/scripts/build-windows-images +++ b/scripts/build-windows-images @@ -11,7 +11,7 @@ fi mkdir -p build -WINDOWS_IMAGES=(${REGISTRY}/${REPO}/${PROG}-runtime:${DOCKERIZED_VERSION}-windows-amd64 rancher/mirrored-pause:${PAUSE_VERSION}-windows-1809-amd64 rancher/mirrored-pause:${PAUSE_VERSION}-windows-ltsc2022-amd64) -for IMAGE in "${WINDOWS_IMAGES[@]}"; do - echo "${IMAGE}" >> build/windows-images.txt -done +cat <build/windows-images.txt +${REGISTRY}/${REPO}/${PROG}-runtime:${DOCKERIZED_VERSION}-windows-amd64 +${REGISTRY}/${REPO}/mirrored-pause:${PAUSE_VERSION} +EOF diff --git a/scripts/package-windows-images b/scripts/package-windows-images index c21dfe6acd..e70ad0ffa6 100755 --- a/scripts/package-windows-images +++ b/scripts/package-windows-images @@ -7,16 +7,16 @@ source ./scripts/version.sh mkdir -p dist/artifacts -# 1809/LTSC -crane --platform windows/amd64 pull \ +# ltsc1809 / Server 2019 1809 +crane pull --platform windows/amd64:10.0.17763.2114 \ ${REGISTRY}/${REPO}/${PROG}-runtime:${DOCKERIZED_VERSION}-windows-amd64 \ - rancher/pause:${PAUSE_VERSION}-windows-1809-amd64 \ + ${REGISTRY}/${REPO}/mirrored-pause:${PAUSE_VERSION} \ rke2-windows-1809-amd64-images.tar -# 2022/LTSC -crane --platform windows/amd64 pull \ +# ltsc2022 / Server 2022 21H2 +crane pull --platform windows/amd64:10.0.20348.169 \ ${REGISTRY}/${REPO}/${PROG}-runtime:${DOCKERIZED_VERSION}-windows-amd64 \ - rancher/pause:${PAUSE_VERSION}-windows-ltsc2022-amd64 \ + ${REGISTRY}/${REPO}/mirrored-pause:${PAUSE_VERSION} \ rke2-windows-ltsc2022-amd64-images.tar WINDOWS_TARFILES=(rke2-windows-1809-amd64-images.tar rke2-windows-ltsc2022-amd64-images.tar)