Skip to content

Commit

Permalink
Making it a single line.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexei V. Ivanov <[email protected]>
  • Loading branch information
Alexei-V-Ivanov-AMD committed Jan 16, 2025
1 parent 33e158a commit b3ed4f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/test-template-aws.j2
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,7 @@ steps:
depends_on: ~
commands:
#- "docker build --build-arg max_jobs=16 --tag {{ docker_image_amd }} -f Dockerfile.rocm --progress plain ."
- "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 ."
- "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:
- docker-login#v3.0.0:
Expand Down

0 comments on commit b3ed4f2

Please sign in to comment.