fix(compose): escape minio-init env vars in shell command

This commit is contained in:
chengkai3
2026-04-30 23:48:56 +08:00
parent 8d6733a27c
commit be675caaf7
4 changed files with 28 additions and 4 deletions
+2 -2
View File
@@ -193,10 +193,10 @@ jobs:
command:
- -c
- >
until mc alias set local "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY"; do
until mc alias set local "$$MINIO_ENDPOINT" "$$MINIO_ACCESS_KEY" "$$MINIO_SECRET_KEY"; do
sleep 1;
done;
mc mb -p "local/$MINIO_BUCKET" || true;
mc mb -p "local/$$MINIO_BUCKET" || true;
restart: "no"
api: