mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-22 21:38:41 +01: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
|
||||
id: os
|
||||
run: |
|
||||
os_list=$(jq -r '.os | keys | [ .[] | tostring ] | @json' "./build.json")
|
||||
os_list='windows'
|
||||
$os_list=$(jq -r '.os | keys | [ .[] | tostring ] | @json' "./build.json")
|
||||
$os_list='windows'
|
||||
|
||||
echo "::set-output name=list::$os_list"
|
||||
|
||||
- name: Prepare Platform list
|
||||
id: platform_list
|
||||
run: |
|
||||
platform_list=$(jq -r '.os | tostring | @json' "./build.json")
|
||||
platform_list='amd64'
|
||||
$platform_list=$(jq -r '.os | tostring | @json' "./build.json")
|
||||
$platform_list='amd64'
|
||||
|
||||
echo "::set-output name=list::$platform_list"
|
||||
|
||||
- name: Prepare Database engine list
|
||||
id: database
|
||||
run: |
|
||||
database_list=$(jq -r '[.components | values[] ] | sort | unique | del(.. | select ( . == "" ) ) | [ .[] | tostring ] | @json' "./build.json")
|
||||
database_list=''
|
||||
$database_list=$(jq -r '[.components | values[] ] | sort | unique | del(.. | select ( . == "" ) ) | [ .[] | tostring ] | @json' "./build.json")
|
||||
$database_list=''
|
||||
|
||||
echo "::set-output name=list::$database_list"
|
||||
|
||||
- name: Prepare Zabbix component list
|
||||
id: components
|
||||
run: |
|
||||
component_list=$(jq -r '.components | keys | [ .[] | tostring ] | @json' "./build.json")
|
||||
component_list='agent,agent2'
|
||||
$component_list=$(jq -r '.components | keys | [ .[] | tostring ] | @json' "./build.json")
|
||||
$component_list='agent,agent2'
|
||||
|
||||
echo "::set-output name=list::$component_list"
|
||||
|
||||
@ -103,8 +103,8 @@ jobs:
|
||||
- name: Prepare Platform list
|
||||
id: platform
|
||||
run: |
|
||||
platform_list=$(jq -r '.os.${{ matrix.os }} | join(",")' "./build.json")
|
||||
platform_list='amd64'
|
||||
$platform_list=$(jq -r '.os.${{ matrix.os }} | join(",")' "./build.json")
|
||||
$platform_list='amd64'
|
||||
|
||||
echo ::set-output name=list::$platform_list
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user