7
7
- cron : 0 0 * * SUN
8
8
push :
9
9
branches : [ main ]
10
- pull_request_target :
11
- types : [opened, synchronize]
12
10
pull_request :
13
11
types : [opened, synchronize]
14
12
@@ -32,17 +30,17 @@ jobs:
32
30
minio :
33
31
image : mosuka/minio:latest
34
32
env :
35
- MINIO_ROOT_USER : ${{ secrets.MINIO_ROOT_USER }}
36
- MINIO_ROOT_PASSWORD : ${{ secrets.MINIO_ROOT_PASSWORD }}
33
+ MINIO_ROOT_USER : minio
34
+ MINIO_ROOT_PASSWORD : miniosecret
37
35
ports :
38
36
- 9000:9000
39
37
localstack :
40
38
image : localstack/localstack:latest
41
39
env :
42
40
SERVICES : s3,dynamodb
43
41
DEFAULT_REGION : ap-northeast-1
44
- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
45
- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
42
+ AWS_ACCESS_KEY_ID : dummy
43
+ AWS_SECRET_ACCESS_KEY : dummy
46
44
ports :
47
45
- 4566:4566
48
46
@@ -61,17 +59,17 @@ jobs:
61
59
- name : Create .env file
62
60
run : |
63
61
touch .env
64
- echo "MINIO_ROOT_USER=${{ secrets.MINIO_ROOT_USER }} " >> .env
65
- echo "MINIO_ROOT_PASSWORD=${{ secrets.MINIO_ROOT_PASSWORD }} " >> .env
62
+ echo "MINIO_ROOT_USER=minio " >> .env
63
+ echo "MINIO_ROOT_PASSWORD=miniosecret " >> .env
66
64
echo "MINIO_VOLUMES=/data" >> .env
67
65
echo "MINIO_OPTS=--console-address :9001" >> .env
68
66
echo "MINIO_REGION_NAME=us-east-1" >> .env
69
- echo "MINIO_ACCESS_KEY=${{ secrets.MINIO_ACCESS_KEY }} " >> .env
70
- echo "MINIO_SECRET_KEY=${{ secrets.MINIO_SECRET_KEY }} " >> .env
67
+ echo "MINIO_ACCESS_KEY=minio " >> .env
68
+ echo "MINIO_SECRET_KEY=miniosecret " >> .env
71
69
echo "MINIO_ENDPOINT=127.0.0.1:9000" >> .env
72
70
echo "MINIO_SECURE=false" >> .env
73
- echo "AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} " >> .env
74
- echo "AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} " >> .env
71
+ echo "AWS_ACCESS_KEY_ID=dummy " >> .env
72
+ echo "AWS_SECRET_ACCESS_KEY=dummy " >> .env
75
73
echo "AWS_DEFAULT_REGION=ap-northeast-1" >> .env
76
74
echo "AWS_ENDPOINT_URL=http://localhost:4566" >> .env
77
75
echo "AWS_USE_PATH_STYLE=true" >> .env
0 commit comments