diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f4a87cef9..524178258 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -79,14 +79,18 @@ jobs: DOCKER_PLATFORM="linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le" fi - if [ "${{ matrix.os }}" == "centos" ]; then - DOCKER_PLATFORM="linux/amd64,linux/arm64,linux/ppc64le" - fi - if [ "${{ matrix.build }}" == "java-gateway" ]; then DOCKER_PLATFORM=${DOCKER_PLATFORM%",linux/ppc64le"} fi + if [ "${{ matrix.build }}" == "web-service" ]; then + DOCKER_PLATFORM=${DOCKER_PLATFORM%",linux/ppc64le"} + fi + + if [ "${{ matrix.os }}" == "ol" ]; then + DOCKER_PLATFORM="linux/amd64,linux/arm64" + fi + echo ::set-output name=list::${DOCKER_PLATFORM} - name: Prepare environment (push)