mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-20 01:47:43 +02:00
Updated build script
This commit is contained in:
parent
724269eafb
commit
13fb0de4a3
2
.github/workflows/images_build_windows.yml
vendored
2
.github/workflows/images_build_windows.yml
vendored
@ -100,7 +100,7 @@ jobs:
|
|||||||
$tags_array=$( "${{ steps.meta.outputs.tags}}".Split("`r`n") | Foreach-Object { "$_" } )
|
$tags_array=$( "${{ steps.meta.outputs.tags}}".Split("`r`n") | Foreach-Object { "$_" } )
|
||||||
$tags=$( $tags_array -Join ',' )
|
$tags=$( $tags_array -Join ',' )
|
||||||
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
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 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 push image push --all-tags $tags_array[0]
|
||||||
docker logout
|
docker logout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user