diff --git a/.drone.yml b/.drone.yml index a314607..a1fe9b6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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