Updated build script

This commit is contained in:
Alexey Pustovalov 2021-10-09 10:19:44 +02:00
parent 4e00f429a3
commit 5781665dd1

View File

@ -119,6 +119,7 @@ jobs:
echo "docker build --file=$dockerfile $tags $context" echo "docker build --file=$dockerfile $tags $context"
docker build --label org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} ` docker build --label org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }} `
--label org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }} ` --label org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }} `
--build-arg=BUILD_BASE_IMAGE=mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-${{ steps.base_os_tag.outputs.os_tag }} `
--file=$dockerfile ` --file=$dockerfile `
$tags ` $tags `
$context $context