Skip to content

Commit

Permalink
Update Windows EOL matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Aug 26, 2021
1 parent 5b38965 commit cfc98d1
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions naughty-from.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,30 @@ _is_naughty() {
case "$BASHBREW_ARCH=$from" in
# a few images that no longer exist (and are thus not permissible)
# https://techcommunity.microsoft.com/t5/Containers/Removing-the-latest-Tag-An-Update-on-MCR/ba-p/393045
*=mcr.microsoft.com/windows/*:latest \
) return 0 ;;
*=mcr.microsoft.com/windows/*:latest) return 0 ;;

# 20H2 is not *technically* EOL until 05/10/2022, but its use is discouraged here given the existence of ltsc2022
# 2004 is not *technically* EOL until 12/14/2021, but its use is discouraged here given the existence of ltsc2022

# https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/base-image-lifecycle
# "05/11/2021"
*=mcr.microsoft.com/windows/*:1909*) return 0 ;;

# https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/base-image-lifecycle
# "12/08/2020"
*=mcr.microsoft.com/windows/*:1903*) return 0 ;;

# https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/base-image-lifecycle
# "11/12/2019"
*=mcr.microsoft.com/windows/*:1803* \
) return 0 ;;
*=mcr.microsoft.com/windows/*:1803*) return 0 ;;

# https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/base-image-lifecycle
# "04/09/2019"
*=mcr.microsoft.com/windows/*:1709* \
) return 0 ;;
*=mcr.microsoft.com/windows/*:1709*) return 0 ;;

# https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/base-image-lifecycle
# "10/09/2018"
*=mcr.microsoft.com/windows/nanoserver:sac2016 \
) return 0 ;;
*=mcr.microsoft.com/windows/nanoserver:sac2016) return 0 ;;

# a few explicitly permissible exceptions to Santa's naughty list
*=scratch \
Expand Down

0 comments on commit cfc98d1

Please sign in to comment.