Added s390x for Alpine

This commit is contained in:
Alexey Pustovalov 2021-10-28 13:58:15 +03:00
parent 52c2f424e2
commit f215087bd5

View File

@ -298,8 +298,11 @@ jobs:
id: platform
run: |
# Chromium on Alpine is available only on linux/amd64, linux/arm64 platforms
if [ "${{ matrix.os }}" == "alpine" ] && [ "${{ matrix.build }}" == "web-service" ]; then
if ([ "${{ matrix.os }}" == "alpine" ] || [ "${{ matrix.os }}" == "centos" ]) && [ "${{ matrix.build }}" == "web-service" ]; then
platform_list="linux/amd64,linux/arm64"
# Chromium on Ubuntu is not available on s390x platform
elif [ "${{ matrix.os }}" == "ubuntu" ] && [ "${{ matrix.build }}" == "web-service" ]; then
platform_list="linux/amd64,linux/arm/v7,linux/arm64"
else
platform_list=$(jq -r '.["os-linux"].${{ matrix.os }} | join(",")' "./build.json")
fi