diff --git a/.gitea/workflows/unittests.yml b/.gitea/workflows/unittests.yml index 1096ed9..d5b418a 100644 --- a/.gitea/workflows/unittests.yml +++ b/.gitea/workflows/unittests.yml @@ -15,11 +15,12 @@ jobs: go-version: 1.21 - name: start minio run: | - docker run -d --rm --name nodeapi_minio -p 9001:9001 -e MINIO_ROOT_USER=test MINIO_ROOT_PASSWORD=testtest server /data --console-address :9001 + docker run -d --rm --name nodeapi_minio -p 9001:9001 -e MINIO_ROOT_USER=test MINIO_ROOT_PASSWORD=testtest minio/minio:latest server /data --console-address :9001 - name: Test run: | make test - name: stop minio + if: always() run: | docker stop nodeapi_minio # TODO: probably not supported by Gitea workflows yet