Allow minio to overwrite files
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Tyler 2023-06-03 22:30:56 -04:00
parent a6b81440cd
commit 848b8f2fb8
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ steps:
commands: commands:
- packer build ubuntu/ubuntu-20.04-amd64.json - packer build ubuntu/ubuntu-20.04-amd64.json
- wget -O mc https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x mc - 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 - rm -f mc
environment: environment:
MC_HOST_STORAGE: MC_HOST_STORAGE:
@ -32,7 +32,7 @@ steps:
commands: commands:
- packer build debian/debian-11-amd64.json - packer build debian/debian-11-amd64.json
- wget -O mc https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x mc - 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 - rm -f mc
environment: environment:
MC_HOST_STORAGE: MC_HOST_STORAGE: