Skip to content

Commit c915564

Browse files
authored
Merge pull request #66 from drgarcia1986/minio-bucket-fix
feat(get_object): use `MINIO_BUCKET` env-var
2 parents cf2271a + 92ef1b7 commit c915564

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rootfs/bin/get_object

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ GET_PATH=slug.tgz
44

55
export BUCKET_FILE=/var/run/secrets/deis/objectstore/creds/builder-bucket
66
if [ "$BUILDER_STORAGE" == "minio" ]; then
7+
MINIO_BUCKET_NAME=${MINIO_BUCKET:-git}
78
mkdir -p /app/objectstore/minio
8-
echo "git" > /app/objectstore/minio/builder-bucket
9+
echo "$MINIO_BUCKET_NAME" > /app/objectstore/minio/builder-bucket
910
export BUCKET_FILE=/app/objectstore/minio/builder-bucket
1011
elif [ "$BUILDER_STORAGE" == "azure" ] || [ "$BUILDER_STORAGE" == "swift" ]; then
1112
export CONTAINER_FILE=/var/run/secrets/deis/objectstore/creds/builder-container

0 commit comments

Comments
 (0)