Skip to content
Snippets Groups Projects
Commit 618991bc authored by Neil McKee's avatar Neil McKee
Browse files

Update .gitlab-ci.yml file to add pipeline for CUDA 12.1

parent 56cb9ad5
No related branches found
No related tags found
No related merge requests found
Pipeline #35454 passed
...@@ -30,3 +30,12 @@ build-and-push-agent-cuda-11-7: ...@@ -30,3 +30,12 @@ build-and-push-agent-cuda-11-7:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/agent-cuda-11-7 --dockerfile $CI_PROJECT_DIR/agent-cuda-11-7/Dockerfile --destination $CI_REGISTRY_IMAGE/agent-cuda-11-7:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE/agent-cuda-11-7:latest - /kaniko/executor --context $CI_PROJECT_DIR/agent-cuda-11-7 --dockerfile $CI_PROJECT_DIR/agent-cuda-11-7/Dockerfile --destination $CI_REGISTRY_IMAGE/agent-cuda-11-7:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE/agent-cuda-11-7:latest
build-and-push-agent-cuda-12-1:
only:
changes:
- agent-cuda-12-1/*
stage: build-and-push
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/agent-cuda-12-1 --dockerfile $CI_PROJECT_DIR/agent-cuda-12-1/Dockerfile --destination $CI_REGISTRY_IMAGE/agent-cuda-12-1:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE/agent-cuda-12-1:latest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment