diff --git a/Dockerfile b/Dockerfile index bca5bbc3..d542e9c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/powershell:7.1.5-ubuntu-20.04 as base SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \ - Install-Module PSScriptAnalyzer -RequiredVersion 1.20.0 -Scope AllUsers -Repository PSGallery + Install-Module PSScriptAnalyzer -RequiredVersion 1.21.0 -Scope AllUsers -Repository PSGallery FROM base as analyzer LABEL "com.github.actions.name" = "PSScriptAnalyzer"