mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-04-27 04:38:48 +02:00
New build design
This commit is contained in:
parent
7fb4f629c3
commit
549a36c631
20
.github/workflows/images_build_windows.yml
vendored
20
.github/workflows/images_build_windows.yml
vendored
@ -45,32 +45,32 @@ jobs:
|
|||||||
- name: Prepare Operating System list
|
- name: Prepare Operating System list
|
||||||
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'
|
$os_list='windows'
|
||||||
|
|
||||||
echo "::set-output name=list::$os_list"
|
echo "::set-output name=list::$os_list"
|
||||||
|
|
||||||
- name: Prepare Platform list
|
- name: Prepare Platform list
|
||||||
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'
|
$platform_list='amd64'
|
||||||
|
|
||||||
echo "::set-output name=list::$platform_list"
|
echo "::set-output name=list::$platform_list"
|
||||||
|
|
||||||
- name: Prepare Database engine list
|
- name: Prepare Database engine list
|
||||||
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=''
|
$database_list=''
|
||||||
|
|
||||||
echo "::set-output name=list::$database_list"
|
echo "::set-output name=list::$database_list"
|
||||||
|
|
||||||
- name: Prepare Zabbix component list
|
- name: Prepare Zabbix component list
|
||||||
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'
|
$component_list='agent,agent2'
|
||||||
|
|
||||||
echo "::set-output name=list::$component_list"
|
echo "::set-output name=list::$component_list"
|
||||||
|
|
||||||
@ -103,8 +103,8 @@ jobs:
|
|||||||
- name: Prepare Platform list
|
- name: Prepare Platform list
|
||||||
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'
|
$platform_list='amd64'
|
||||||
|
|
||||||
echo ::set-output name=list::$platform_list
|
echo ::set-output name=list::$platform_list
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user