Updated build script

This commit is contained in:
Alexey Pustovalov 2021-10-08 16:09:18 +02:00
parent ab21113d69
commit 4b4e488737

View File

@ -98,7 +98,7 @@ jobs:
id: docker_build
run: |
$tags_array=$( "${{ steps.meta.outputs.tags}}".Split("`r`n") )
$tags=$($tags_array | Foreach-Object { "-t '$_'" }) -Join ' '
$tags=$($tags_array | Foreach-Object { "--tag=$_" })
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
echo "docker build --file=.\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\Dockerfile.${{ matrix.build }} $tags .\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\"
docker build --file=.\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\Dockerfile.${{ matrix.build }} $tags .\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\