mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-16 19:40:59 +02:00
Updated build script
This commit is contained in:
3
.github/workflows/images_build_windows.yml
vendored
3
.github/workflows/images_build_windows.yml
vendored
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user