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

Update .gitlab-ci.yml file to add pipeline for building agent-cuda-11-7

parent c8f15c19
No related branches found
No related tags found
No related merge requests found
Pipeline #35450 failed
...@@ -21,3 +21,12 @@ build-and-push-agent: ...@@ -21,3 +21,12 @@ build-and-push-agent:
- 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 --dockerfile $CI_PROJECT_DIR/agent/Dockerfile --destination $CI_REGISTRY_IMAGE/agent:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE/agent:latest - /kaniko/executor --context $CI_PROJECT_DIR/agent --dockerfile $CI_PROJECT_DIR/agent/Dockerfile --destination $CI_REGISTRY_IMAGE/agent:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE/agent:latest
build-and-push-agent-cuda-11-7:
only:
changes:
- agent-cuda-11-7/*
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-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
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