From 8ea68aabfef6e5a127de8b99d126e3e515260c70 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 9 Jul 2023 05:41:43 +0800 Subject: [PATCH] fix drone config 9 --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index c30b8d1..833a4a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,8 +33,7 @@ steps: - git fetch - git checkout ${DRONE_BRANCH} - git reset --hard ${DRONE_COMMIT} - - docker-compose down - - docker-compose up -d --build --force-recreate + - docker-compose down && docker-compose build --no-cache && docker-compose up -d - docker image prune -f when: event: @@ -77,6 +76,7 @@ steps: - git checkout ${DRONE_BRANCH} - git reset --hard ${DRONE_COMMIT} - docker-compose down && docker-compose build --no-cache && docker-compose up -d + - docker image prune -f when: event: include: