From df391e2144807d1734a7c39e545e4a36d08a6bc4 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Fri, 3 Jun 2022 20:34:36 +0200 Subject: [PATCH] Only generate amd64 images for ubuntu18.04 Signed-off-by: Evan Lezar --- .nvidia-ci.yml | 9 --------- build/container/multi-arch.mk | 3 +++ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.nvidia-ci.yml b/.nvidia-ci.yml index 55f9ad4e..d75b0e1e 100644 --- a/.nvidia-ci.yml +++ b/.nvidia-ci.yml @@ -157,15 +157,6 @@ scan-ubuntu18.04-amd64: needs: - image-ubuntu18.04 -scan-ubuntu18.04-arm64: - extends: - - .scan - - .dist-ubuntu18.04 - - .platform-arm64 - needs: - - image-ubuntu18.04 - - scan-ubuntu18.04-amd64 - scan-ubuntu20.04-amd64: extends: - .scan diff --git a/build/container/multi-arch.mk b/build/container/multi-arch.mk index 94a3527c..445ea0d0 100644 --- a/build/container/multi-arch.mk +++ b/build/container/multi-arch.mk @@ -30,5 +30,8 @@ push-short: # We only have x86_64 packages for centos7 build-centos7: DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64 +# We only generate amd64 image for ubuntu18.04 +build-ubuntu18.04: DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64 + # We only generate a single image for packaging targets build-packaging: DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64