Fix pipeline
This commit is contained in:
parent
4f6ba87989
commit
34059b3913
@ -13,18 +13,25 @@ jobs:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
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
|
||||
- name: Test
|
||||
run: |
|
||||
make test
|
||||
services:
|
||||
minio:
|
||||
image: minio/minio:latest
|
||||
env:
|
||||
MINIO_ROOT_USER: test
|
||||
MINIO_ROOT_PASSWORD: testtest
|
||||
ports:
|
||||
- 9001:9001
|
||||
options: server /data --console-address :9001
|
||||
- name: stop minio
|
||||
run: |
|
||||
docker stop nodeapi_minio
|
||||
# TODO: probably not supported by Gitea workflows yet
|
||||
# services:
|
||||
# minio:
|
||||
# image: minio/minio:latest
|
||||
# env:
|
||||
# MINIO_ROOT_USER: test
|
||||
# MINIO_ROOT_PASSWORD: testtest
|
||||
# ports:
|
||||
# - 9001:9001
|
||||
# options: server /data --console-address :9001
|
||||
deploy-dev:
|
||||
runs-on: [amd64, moon]
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user