diff --git a/ci-scripts/preserveimage.sh b/ci-scripts/preserveimage.sh index 40dca9d4579..e347d93863a 100644 --- a/ci-scripts/preserveimage.sh +++ b/ci-scripts/preserveimage.sh @@ -1,2 +1,4 @@ +IMAGE="$1" + mkdir "$BUILD_REPOSITORY_LOCALPATH/buildimage" -docker save -o "$BUILD_REPOSITORY_LOCALPATH/buildimage/$BUILD_BUILDNUMBER-dotnet.tar" "constructors.azurecr.io/platforms/netcoresdk" +docker save -o "$BUILD_REPOSITORY_LOCALPATH/buildimage/$BUILD_BUILDNUMBER-dotnet.tar" "$IMAGE"