Skip to content

Commit b25377d

Browse files
committed
Switch to official minio/minio image
Bitnami has removed all public minio tags. Use official minio/minio image with manual bucket creation via minio/mc.
1 parent ecf752c commit b25377d

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,6 @@ jobs:
4545
name: Test
4646
runs-on: ubuntu-latest
4747
timeout-minutes: 15
48-
services:
49-
minio:
50-
image: bitnami/minio:2024
51-
ports:
52-
- 9000:9000
53-
env:
54-
MINIO_ROOT_USER: minioadmin
55-
MINIO_ROOT_PASSWORD: minioadmin
56-
MINIO_DEFAULT_BUCKETS: timefusion-test,timefusion-tests
57-
options: >-
58-
--health-cmd "curl -f http://localhost:9000/minio/health/live || exit 1"
59-
--health-interval 10s
60-
--health-timeout 5s
61-
--health-retries 5
6248
env:
6349
AWS_SDK_LOAD_CONFIG: "false"
6450
AWS_ENDPOINT_URL: http://127.0.0.1:9000
@@ -84,6 +70,18 @@ jobs:
8470
- name: Free disk space
8571
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
8672
- uses: actions/checkout@v4
73+
74+
- name: Start MinIO
75+
run: |
76+
docker run -d --name minio \
77+
-p 9000:9000 \
78+
-e MINIO_ROOT_USER=minioadmin \
79+
-e MINIO_ROOT_PASSWORD=minioadmin \
80+
minio/minio:latest server /data
81+
sleep 5
82+
docker run --rm --network host \
83+
-e MC_HOST_local=http://minioadmin:minioadmin@127.0.0.1:9000 \
84+
minio/mc mb local/timefusion-test local/timefusion-tests
8785
- uses: dtolnay/rust-toolchain@stable
8886
- uses: Swatinem/rust-cache@v2
8987

0 commit comments

Comments
 (0)