We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c899dbb commit 33e158aCopy full SHA for 33e158a
scripts/test-template-aws.j2
@@ -174,7 +174,10 @@ steps:
174
- label: "AMD: :docker: build image"
175
depends_on: ~
176
commands:
177
- - "docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --progress plain ."
+ #- "docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --progress plain ."
178
+ - "grep -i 'from base as test' Dockerfile.rocm \
179
+ && docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --target test --progress plain . \
180
+ || docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --progress plain ."
181
- "docker push {{ docker_image_amd }}"
182
plugins:
183
- docker-login#v3.0.0:
0 commit comments