Skip to content

Commit 5882d31

Browse files
committed
fix(builder): change all to add
‘mc config host all’ is not a valid command
1 parent 1a2975f commit 5882d31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/etc/confd/templates/builder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ACCESS_SECRET=`cat /var/run/secrets/object/store/access-secret-key`
126126
mkdir -p /var/minio-conf
127127
CONFIG_DIR=/var/minio-conf
128128
MC_PREFIX="mc -C $CONFIG_DIR --quiet"
129-
$MC_PREFIX config host all "$HTTP_PREFIX://$S3EP" $ACCESS_KEY $ACCESS_SECRET
129+
$MC_PREFIX config host add "$HTTP_PREFIX://$S3EP" $ACCESS_KEY $ACCESS_SECRET
130130
$MC_PREFIX mb "$HTTP_PREFIX://${S3EP}/git"
131131
$MC_PREFIX cp ${APP_NAME}.tar.gz $TAR_URL
132132
echo "stored tarfile in $TAR_URL"

0 commit comments

Comments
 (0)