From ee48ff08eb41e5b2ed45e4f523eb025675915ebc Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Mon, 7 Sep 2020 22:46:19 +0300 Subject: [PATCH] Update CI.yml --- .github/workflows/CI.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ccd6f80c6..a8b0781bf 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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