From 848b8f2fb8e3b8b96adb05bf9b7e06f8d71901f2 Mon Sep 17 00:00:00 2001 From: Tyler Date: Sat, 3 Jun 2023 22:30:56 -0400 Subject: [PATCH] Allow minio to overwrite files --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index c45e872..6d7648a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: commands: - packer build ubuntu/ubuntu-20.04-amd64.json - wget -O mc https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x mc - - ./mc mirror builds/ STORAGE/$MC_BUCKET/ubuntu + - ./mc mirror --overwrite builds/ STORAGE/$MC_BUCKET/ubuntu - rm -f mc environment: MC_HOST_STORAGE: @@ -32,7 +32,7 @@ steps: commands: - packer build debian/debian-11-amd64.json - wget -O mc https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x mc - - ./mc mirror builds/ STORAGE/$MC_BUCKET/debian + - ./mc mirror --overwrite builds/ STORAGE/$MC_BUCKET/debian - rm -f mc environment: MC_HOST_STORAGE: