From 24f2120688eb15dd6a122f0d1b052737acf65b2e Mon Sep 17 00:00:00 2001 From: Simon Mo Date: Thu, 16 Jan 2025 19:37:43 -0800 Subject: [PATCH] Apply suggestions from code review --- scripts/test-template-aws.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-template-aws.j2 b/scripts/test-template-aws.j2 index 5a2b9e2..923064e 100644 --- a/scripts/test-template-aws.j2 +++ b/scripts/test-template-aws.j2 @@ -174,7 +174,7 @@ steps: - label: "AMD: :docker: build image" depends_on: ~ commands: - #- "docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --progress plain ." + # Handle the introduction of test target in Dockerfile.rocm - "grep -i 'from base as test' Dockerfile.rocm && docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --target test --progress plain . || docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --progress plain ." - "docker push {{ docker_image_amd }}" plugins: