From c1ca69a8ac1bdd541e9e39da56a56e48e3f8980a Mon Sep 17 00:00:00 2001 From: liupeng Date: Wed, 28 Feb 2024 17:01:35 +0800 Subject: [PATCH 1/2] podman release --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index a314607..a4b2aea 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 + - 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 From 432cf4e768ba41a8260268039e101dc8a8b741cc Mon Sep 17 00:00:00 2001 From: liupeng Date: Wed, 28 Feb 2024 17:15:48 +0800 Subject: [PATCH 2/2] fix err --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a4b2aea..a1fe9b6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -89,7 +89,7 @@ steps: script: - echo "deploy podman ssh!" - name=drone-release - - image=git.daymele.com/liupeng/drone::latest + - image=git.daymele.com/liupeng/drone:latest - podman pull $image - podman rm -f drone-release || true - podman image prune -f