Updated build script

This commit is contained in:
Alexey Pustovalov
2021-10-08 16:18:42 +02:00
parent 4b4e488737
commit 64c484ab3d
2 changed files with 4 additions and 1 deletions

View File

@ -99,9 +99,12 @@ jobs:
run: |
$tags_array=$( "${{ steps.meta.outputs.tags}}".Split("`r`n") )
$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\
docker push image push --all-tags $tags_array[0]
docker logout