Merge pull request 'dev' (#3) from dev into main
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #3
This commit is contained in:
liupeng 2024-02-28 17:25:20 +08:00
commit 141f1f543e

View File

@ -58,7 +58,7 @@ steps:
port: 22
command_timeout: 2m
script:
- echo "deploy ssh!"
- echo "deploy docker ssh!"
- name=drone-test
- image=git.daymele.com/liupeng/drone:canary
- echo ${DRONE_BRANCH}
@ -87,13 +87,13 @@ steps:
port: 22
command_timeout: 2m
script:
- echo "deploy ssh!"
- echo "deploy podman ssh!"
- name=drone-release
- image=git.daymele.com/liupeng/drone::latest
- docker pull $image
- docker rm -f drone-release || true
- docker image prune -f
- docker run --name=$name -d -p 8002:9000 -v /etc/conf:/conf $image
- image=git.daymele.com/liupeng/drone:latest
- podman pull $image
- podman rm -f drone-release || true
- podman image prune -f
- podman run --name=$name -d -p 8002:9000 -v /etc/conf:/conf $image
when:
event:
- tag