mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-12 12:56:41 +02:00
New build design
This commit is contained in:
parent
3e2becb70d
commit
891e70aa43
13
.github/workflows/images_build_windows.yml
vendored
13
.github/workflows/images_build_windows.yml
vendored
@ -13,7 +13,7 @@ on:
|
|||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: powershell
|
shell: pwsh
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DOCKER_REPOSITORY: "zabbix"
|
DOCKER_REPOSITORY: "zabbix"
|
||||||
@ -47,6 +47,7 @@ jobs:
|
|||||||
id: os
|
id: os
|
||||||
run: |
|
run: |
|
||||||
os_list=$(jq -r '.os | keys | [ .[] | tostring ] | @json' "./build.json")
|
os_list=$(jq -r '.os | keys | [ .[] | tostring ] | @json' "./build.json")
|
||||||
|
os_list='windows'
|
||||||
|
|
||||||
echo "::set-output name=list::$os_list"
|
echo "::set-output name=list::$os_list"
|
||||||
|
|
||||||
@ -54,6 +55,7 @@ jobs:
|
|||||||
id: platform_list
|
id: platform_list
|
||||||
run: |
|
run: |
|
||||||
platform_list=$(jq -r '.os | tostring | @json' "./build.json")
|
platform_list=$(jq -r '.os | tostring | @json' "./build.json")
|
||||||
|
platform_list='amd64'
|
||||||
|
|
||||||
echo "::set-output name=list::$platform_list"
|
echo "::set-output name=list::$platform_list"
|
||||||
|
|
||||||
@ -61,6 +63,7 @@ jobs:
|
|||||||
id: database
|
id: database
|
||||||
run: |
|
run: |
|
||||||
database_list=$(jq -r '[.components | values[] ] | sort | unique | del(.. | select ( . == "" ) ) | [ .[] | tostring ] | @json' "./build.json")
|
database_list=$(jq -r '[.components | values[] ] | sort | unique | del(.. | select ( . == "" ) ) | [ .[] | tostring ] | @json' "./build.json")
|
||||||
|
database_list=''
|
||||||
|
|
||||||
echo "::set-output name=list::$database_list"
|
echo "::set-output name=list::$database_list"
|
||||||
|
|
||||||
@ -68,6 +71,7 @@ jobs:
|
|||||||
id: components
|
id: components
|
||||||
run: |
|
run: |
|
||||||
component_list=$(jq -r '.components | keys | [ .[] | tostring ] | @json' "./build.json")
|
component_list=$(jq -r '.components | keys | [ .[] | tostring ] | @json' "./build.json")
|
||||||
|
component_list='agent,agent2'
|
||||||
|
|
||||||
echo "::set-output name=list::$component_list"
|
echo "::set-output name=list::$component_list"
|
||||||
|
|
||||||
@ -91,12 +95,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v1
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
@ -107,6 +105,7 @@ jobs:
|
|||||||
id: platform
|
id: platform
|
||||||
run: |
|
run: |
|
||||||
platform_list=$(jq -r '.os.${{ matrix.os }} | join(",")' "./build.json")
|
platform_list=$(jq -r '.os.${{ matrix.os }} | join(",")' "./build.json")
|
||||||
|
platform_list='amd64'
|
||||||
|
|
||||||
echo ::set-output name=list::$platform_list
|
echo ::set-output name=list::$platform_list
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user