Skip to content
Snippets Groups Projects
Commit d2db80b8 authored by Birhanu Belay's avatar Birhanu Belay
Browse files

Update .gitlab-ci.yml file

parent a438789a
No related branches found
No related tags found
No related merge requests found
Pipeline #12761 canceled with stage
default:
image: docker:26.0.1-dind
stages:
- build
variables:
PACKAGE_NAME: "qwen2.5"
DOCKER_IMAGE: "$CI_REGISTRY_IMAGE/$PACKAGE_NAME"
DOCKER_TLS_CERTDIR: "/certs"
before_script:
- unset DOCKER_HOST
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
push_docker_image:
stage: build
image: docker:26.0.1-dind
script:
- docker build -t $DOCKER_IMAGE:$CI_COMMIT_SHORT_SHA -f docker/Dockerfile-cu121 .
- docker push $DOCKER_IMAGE:$CI_COMMIT_SHORT_SHA
only:
- main # Only run on the main branch
\ 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