fix: use mc mirror command instead of just copying it
This commit is contained in:
parent
430162ee25
commit
680c0b60d1
@ -9,5 +9,5 @@ jobs:
|
|||||||
- run: wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /tmp/mc
|
- run: wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /tmp/mc
|
||||||
- run: chmod +x /tmp/mc
|
- run: chmod +x /tmp/mc
|
||||||
- run: /tmp/mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }}
|
- run: /tmp/mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }}
|
||||||
- run: /tmp/mc cp -r . minio/ptools
|
- run: /tmp/mc mirror $PWD/ minio/ptools
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user