(maint) fix release for windows images (#49)

This commit is contained in:
TP Honey 2023-01-04 11:54:02 +00:00 committed by GitHub
parent f03006262c
commit c40d9ffccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ steps:
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: docker/Dockerfile.windows.1809 dockerfile: docker/Dockerfile.windows.1809
repo: drone/git:windows-1809-amd64 repo: drone/git
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
@ -118,7 +118,7 @@ steps:
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: docker/Dockerfile.windows.ltsc2022 dockerfile: docker/Dockerfile.windows.ltsc2022
repo: drone/git:windows-ltsc2022-amd64 repo: drone/git
username: username:
from_secret: docker_username from_secret: docker_username
password: password:

View File

@ -1,6 +1,6 @@
# escape=` # escape=`
FROM mcr.microsoft.com/windows/servercore:ltsc2022 AS git FROM mcr.microsoft.com/windows/servercore:1809 AS git
SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] SHELL ["powershell.exe", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; ` RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; `