diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index eaba9edf5..74a373b3b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -84,10 +84,6 @@ 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 @@ -95,6 +91,10 @@ jobs: 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}