Commit a0ce247e authored by 杨必疆's avatar 杨必疆

111

parent e79101be
variables:
DOCKER_REGISTRY: 'harbor.51gjj.com/registry'
stages:
- pre_deploy
build_docker_image:
stage: pre_deploy
script:
- yarn && yarn tsc
- export IMAGE_TAG=${CI_COMMIT_TAG:-latest}
- docker build -t $DOCKER_REGISTRY/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$IMAGE_TAG .
- docker push $DOCKER_REGISTRY/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$IMAGE_TAG
tags:
- docker-image-builder
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment