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

Update .gitlab-ci.yml file

parent 85d652b5
No related branches found
No related tags found
No related merge requests found
...@@ -37,4 +37,11 @@ build-and-push-agent-cuda-12-1: ...@@ -37,4 +37,11 @@ build-and-push-agent-cuda-12-1:
script: script:
- 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-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 - /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
build-and-push-agent-arm:
only:
changes:
- agent-arm/*
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-arm --dockerfile $CI_PROJECT_DIR/agent-arm/Dockerfile --destination $CI_REGISTRY_IMAGE/agent-arm:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE/agent:arm --build-arg opts='GOARCH=arm64' --customPlatform=linux/arm64/v8
\ No newline at end of file
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