Add an explicit cache restore

This commit is contained in:
Greg Hellings
2024-06-21 16:23:24 -05:00
parent 9bb997c9e7
commit 04b625f9e4
4 changed files with 16 additions and 7 deletions
+5
View File
@@ -0,0 +1,5 @@
mc alias set storage "$STORAGE_URL" root "$MINIO_SECRET"
for f in $(mc ls --json storage/isos/cache | jq '.key' | tr -d '"'); do
mc get -q "storage/isos/cache/$f" "./cache/$f"
done