mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-16 09:51:01 +01:00
Updated build script
This commit is contained in:
parent
64c484ab3d
commit
c5cc9be0ba
9
.github/workflows/images_build_windows.yml
vendored
9
.github/workflows/images_build_windows.yml
vendored
@ -77,12 +77,6 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Generate tags
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3
|
||||
@ -105,7 +99,8 @@ jobs:
|
||||
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]
|
||||
echo "docker push image push --all-tags $tags_array[0]"
|
||||
docker image push --all-tags $tags_array[0]
|
||||
docker logout
|
||||
|
||||
$digest=$(docker inspect $tags_array[0] --format "{{.Id}}")
|
||||
|
@ -114,6 +114,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
|
||||
`
|
||||
Write-Host ('Downloading {0} ...' -f $env:MINGW_URL); `
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
|
||||
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }; `
|
||||
Invoke-WebRequest -OutFile $env:SystemDrive\mingw.7z -Uri $env:MINGW_URL; `
|
||||
`
|
||||
$sha256 = 'e8c65ddc655534b0330f66f7b480565621e8617cda9937d76ba141a22bf3b2fa'; `
|
||||
|
Loading…
Reference in New Issue
Block a user