Skip to content

Instantly share code, notes, and snippets.

@maxnasonov
Last active June 1, 2023 08:08
Show Gist options
  • Save maxnasonov/61a7f9cee37303c9021d8ed4d649f709 to your computer and use it in GitHub Desktop.
Save maxnasonov/61a7f9cee37303c9021d8ed4d649f709 to your computer and use it in GitHub Desktop.
version: v1.1.0
steps:
- build: -t $Registry/mnasonov --platform windows .
env:
- DOCKER_BUILDKIT=1
- ABC={{.Values.abc}}
- push:
- $Registry/mnasonov:latest
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-20230516-windowsservercore-ltsc2019
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';$ProgressPreference='silentlyContinue';"]
RUN Write-Output 555
RUN --mount=type=secret,id=token,required=true dir C:\ProgramData\Docker\secrets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment