Update CI.yml

This commit is contained in:
Alexey Pustovalov 2020-09-07 22:46:19 +03:00 committed by GitHub
parent 5ebca7a176
commit ee48ff08eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,10 @@ jobs:
DOCKER_PLATFORM="linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le"
fi
if [ "${{ matrix.os }}" == "ubuntu" ] && [ "${{ matrix.build }}" == "snmptraps" ]; then
DOCKER_PLATFORM="linux/amd64,linux/arm/v7,linux/arm64"
fi
if [ "${{ matrix.os }}" == "centos" ]; then
#DOCKER_PLATFORM="linux/amd64,linux/arm64,linux/ppc64le"
DOCKER_PLATFORM="linux/amd64"
@ -192,7 +196,7 @@ jobs:
fi
docker buildx build --cache-from "type=local,src=/tmp/.buildx-cache" \
--output "type=image,push=false" \
--output "type=image,push=true" \
${BUILDX_ARGS}
- name: Inspect images