Compare commits

...

3 Commits

Author SHA1 Message Date
5e26ffcd91 Merge pull request 'dev' (#2) from dev into main
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
Reviewed-on: #2
2024-02-28 16:52:46 +08:00
7016774140 update
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-02-28 16:49:19 +08:00
1348dad664 release
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2024-02-28 16:42:46 +08:00

View File

@ -28,7 +28,7 @@ steps:
# 稳定版 # 稳定版
- name: docker-release - name: docker-release
image: golang image: plugins/docker
settings: settings:
username: liupeng username: liupeng
password: password:
@ -74,24 +74,26 @@ steps:
- push - push
# - name: deploy-release - name: deploy-release
# image: appleboy/drone-ssh image: appleboy/drone-ssh
# settings: settings:
# host: host:
# - dev.daymele.com - pub.daymele.com
# username: liuo username: liup
# password: # password:
# from_secret: HOST_PASSWORD # from_secret: HOST_PASSWORD
# port: 22 key:
# command_timeout: 2m from_secret: HOST_KEY
# script: port: 22
# - echo "deploy ssh!" command_timeout: 2m
# - name=demo-test script:
# - image=git.daymele.com/liupeng/drone::latest - echo "deploy ssh!"
# - docker pull $image - name=drone-release
# - docker rm -f test-demo || true - image=git.daymele.com/liupeng/drone::latest
# - docker image prune -f - docker pull $image
# - docker run --name=$name -d -p 8001:9000 $image - docker rm -f drone-release || true
# when: - docker image prune -f
# event: - docker run --name=$name -d -p 8002:9000 -v /etc/conf:/conf $image
# - tag when:
event:
- tag