File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 77 - docker
88 stages :
99 # 同步代码到 github 仓库
10- # - name: sync to github
11- # image: tencentcom/git-sync
12- # settings:
13- # target_url: https://github.com/RSS1102/blog.git
14- # auth_type: https
15- # username: RSS1102
16- # password: ${GITHUB_BLOG_TOKEN}
17- # branch: dev
10+ - name : sync to github
11+ image : tencentcom/git-sync
12+ settings :
13+ target_url : https://github.com/RSS1102/blog.git
14+ auth_type : https
15+ username : RSS1102
16+ password : ${GITHUB_BLOG_TOKEN}
17+ branch : dev
1818
1919 # 同名镜像构建&推送 https://docs.cnb.cool/zh/artifact/docker.html#deng-lu-cnb-docker-zhi-pin-ku
20- - name : docker login
21- script : docker login docker.cnb.cool -u cnb -p ${CNB_TOKEN}
22- - name : docker build
23- script : docker build -t ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:dev .
24- - name : docker push
25- script : docker push ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:dev
20+ # - name: docker login
21+ # script: docker login docker.cnb.cool -u cnb -p ${CNB_TOKEN}
22+ # - name: docker build
23+ # script: docker build -t ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:dev .
24+ # - name: docker push
25+ # script: docker push ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:dev
You can’t perform that action at this time.
0 commit comments