File tree Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 88 build-and-push :
99 runs-on : ubuntu-latest
1010
11- services :
12- redis :
13- image : redis
14- ports :
15- - 6379:6379
16-
1711 env :
1812 DB_URL : ${{ secrets.DB_URL }}
1913 DB_USERNAME : ${{ secrets.DB_USERNAME }}
4337 ELASTIC_PASSWORD : ${{ secrets.ELASTIC_PASSWORD }}
4438 LOKI_URL : ${{ secrets.LOKI_URL }}
4539
40+ services :
41+ redis :
42+ image : redis
43+ ports :
44+ - 6379:6379
45+
4646 steps :
4747 - name : Github Repository 파일 불러오기
4848 uses : actions/checkout@v4
6565 restore-keys : |
6666 ${{ runner.os }}-gradle-
6767
68+ - name : Docker 권한 설정
69+ run : |
70+ sudo chmod 666 /var/run/docker.sock
71+
6872 - name : 빌드 권한 부여
6973 run : chmod +x ./gradlew
7074 shell : bash
Original file line number Diff line number Diff line change 11name : CI Pipeline
22
33on :
4- push :
5- branches :
6- [ main ]
74 pull_request :
85 branches :
96 [ main ]
1411 Continuous-Integration :
1512 runs-on : ubuntu-latest
1613
17- # Action 환경에서 Redis 실행을 위한 설정 추후 서버 배포시 제거 예정
18- services :
19- redis :
20- image : redis
21- ports :
22- - 6379:6379
23-
24-
2514 env :
2615 DB_URL : ${{ secrets.DB_URL }}
2716 DB_USERNAME : ${{ secrets.DB_USERNAME }}
5140 ELASTIC_PASSWORD : ${{ secrets.ELASTIC_PASSWORD }}
5241 LOKI_URL : ${{ secrets.LOKI_URL }}
5342
43+ services :
44+ redis :
45+ image : redis
46+ ports :
47+ - 6379:6379
5448
5549 steps :
5650 - name : Github Repository 파일 불러오기
8175 key : ${{ runner.os }}-sonar
8276 restore-keys : ${{ runner.os }}-sonar
8377
78+ - name : Docker 권한 설정
79+ run : |
80+ sudo chmod 666 /var/run/docker.sock
81+
8482 - name : 빌드 권한 부여
8583 run : chmod +x ./gradlew
8684 shell : bash
You can’t perform that action at this time.
0 commit comments