Pin Docker image ...icrosoft.com/dotnet/aspnet:6.0

--platform=$BUILDPLATFORM
->
mcr.microsoft.com/dotnet/aspnet:6.0@sha256:3edfb4ea7067e24b3aa5c6ab585e85a26c7daabfec26829b8efabeb122de4364

 [atomist:generated]
 [atomist-skill:atomist/docker-base-image-policy]

Signed-off-by: Atomist Bot <bot@atomist.com>
This commit is contained in:
Atomist Bot 2022-10-06 02:24:48 +00:00
parent 36ee4af0da
commit df47b9cdae

View File

@ -34,7 +34,7 @@ FROM builder AS publisher
RUN ["dotnet", "publish", "-c", "Release", "-o", "/build"]
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:6.0
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:6.0@sha256:3edfb4ea7067e24b3aa5c6ab585e85a26c7daabfec26829b8efabeb122de4364
WORKDIR /app
COPY --from=publisher /build .