Merge pull request #1 from hkdobrev/insecure-option
commit
24adab1e89
@ -1,5 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY
|
||||
|
||||
mc mirror --overwrite $1 "deploy/$2"
|
||||
insecure_option=""
|
||||
if ["$MINIO_INSECURE" == "true"]; then
|
||||
insecure_option="--insecure"
|
||||
fi
|
||||
|
||||
mc mirror --overwrite $insecure_option $1 "deploy/$2"
|
||||
|
Loading…
Reference in New Issue