Add docker support.

This commit is contained in:
AnduinXue
2024-03-12 18:33:19 +00:00
parent cd50e935af
commit 6b7ad6b9c2
3 changed files with 28 additions and 0 deletions

8
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,8 @@
stages:
- deploy
deploy_docker:
stage: deploy
script:
- docker build . -t hub.aiursoft.cn/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:latest
- docker push hub.aiursoft.cn/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:latest