Skip to content

Commit

Permalink
Fixing amd image building functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexei-V-Ivanov-AMD committed Jan 16, 2025
1 parent c899dbb commit 552e7f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/test-template-aws.j2
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@ 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 ."
#- "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 552e7f3

Please sign in to comment.