Updated build script

This commit is contained in:
Alexey Pustovalov 2021-10-08 15:48:47 +02:00
parent 724269eafb
commit 13fb0de4a3

View File

@ -100,7 +100,7 @@ jobs:
$tags_array=$( "${{ steps.meta.outputs.tags}}".Split("`r`n") | Foreach-Object { "$_" } )
$tags=$( $tags_array -Join ',' )
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
echo "docker build --file=.\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\Dockerfile.${{ matrix.build }} -t $tags .\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\"
echo "docker build --file=.\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\Dockerfile.${{ matrix.build }} -t 'zabbix/zabbix-build-base:ltsc2022-trunk' -t 'zabbix/zabbix-build-base:trunk-ltsc2022' .\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