Skip to content

Commit

Permalink
Merge pull request #20154 from mahdipub/issue_9829
Browse files Browse the repository at this point in the history
resolves the fill of space due to docker images pile up
  • Loading branch information
AdamBrousseau authored Sep 16, 2024
2 parents ba5e3bc + 9e5f8dc commit 7ac6f82
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion buildenv/jenkins/common/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,13 @@ def _build_all() {
// TODO: remove this workaround when https://github.com/adoptium/infrastructure/issues/3597 resolved. related: infra 9292
def create_docker_image_locally()
{
new_image_name=DOCKER_IMAGE.split(':')[0]+'_cuda'
new_image_name = DOCKER_IMAGE.split(':')[0] + '_cuda'
// check and return if image is already exists on node
CUDA_DOCKER_IMAGE_ID = get_docker_image_id(new_image_name)
if (CUDA_DOCKER_IMAGE_ID) {
DOCKER_IMAGE = new_image_name
return
}
sh '''
echo 'ARG image
ARG cuda_ver=12.2.0
Expand Down

0 comments on commit 7ac6f82

Please sign in to comment.