mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-23 14:59:00 +01:00
Updated build script
This commit is contained in:
parent
68b4cdf5e4
commit
d49dc149d5
6
.github/workflows/images_build_windows.yml
vendored
6
.github/workflows/images_build_windows.yml
vendored
@ -108,7 +108,7 @@ jobs:
|
|||||||
docker logout
|
docker logout
|
||||||
if (-not $?) {throw "Failed"}
|
if (-not $?) {throw "Failed"}
|
||||||
|
|
||||||
$digest=$(docker inspect $tags_array[0] --format "{{ index .RepoDigests 0}}").Split(':')[-1]
|
$digest=$(docker inspect $tags_array[0] --format "{{ index .RepoDigests 0}}").Split('@')[-1]
|
||||||
if (-not $?) {throw "Failed"}
|
if (-not $?) {throw "Failed"}
|
||||||
echo $digest
|
echo $digest
|
||||||
echo "$digest" > ${{ env.BASE_BUILD_NAME }}_${{ matrix.os }}_${{ matrix.build }}
|
echo "$digest" > ${{ env.BASE_BUILD_NAME }}_${{ matrix.os }}_${{ matrix.build }}
|
||||||
@ -180,7 +180,7 @@ jobs:
|
|||||||
docker logout
|
docker logout
|
||||||
if (-not $?) {throw "Failed"}
|
if (-not $?) {throw "Failed"}
|
||||||
|
|
||||||
$digest=$(docker inspect $tags_array[0] --format "{{ index .RepoDigests 0}}").Split(':')[-1]
|
$digest=$(docker inspect $tags_array[0] --format "{{ index .RepoDigests 0}}").Split('@')[-1]
|
||||||
if (-not $?) {throw "Failed"}
|
if (-not $?) {throw "Failed"}
|
||||||
echo $digest
|
echo $digest
|
||||||
echo "$digest" > base-mysql_${{ matrix.os }}_${{ matrix.build }}
|
echo "$digest" > base-mysql_${{ matrix.os }}_${{ matrix.build }}
|
||||||
@ -251,6 +251,6 @@ jobs:
|
|||||||
docker logout
|
docker logout
|
||||||
if (-not $?) {throw "Failed"}
|
if (-not $?) {throw "Failed"}
|
||||||
|
|
||||||
$digest=$(docker inspect $tags_array[0] --format "{{ index .RepoDigests 0}}").Split(':')[-1]
|
$digest=$(docker inspect $tags_array[0] --format "{{ index .RepoDigests 0}}").Split('@')[-1]
|
||||||
if (-not $?) {throw "Failed"}
|
if (-not $?) {throw "Failed"}
|
||||||
echo $digest
|
echo $digest
|
||||||
|
Loading…
Reference in New Issue
Block a user