File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 4141 restore-keys : |
4242 ${{ runner.os }}-gradle-
4343
44+ - name : SonarCloud 패키지 캐싱
45+ uses : actions/cache@v4
46+ with :
47+ path : ~/.sonar/cache
48+ key : ${{ runner.os }}-sonar
49+ restore-keys : ${{ runner.os }}-sonar
50+
4451 - name : 빌드 권한 부여
4552 run : chmod +x ./gradlew
4653 shell : bash
7481 })
7582
7683
77- - name : 도커 빌드및 Push
84+ - name : Docker build and push
7885 run : |
7986 echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin
8087 docker build -t 7zrv/somemore:${GITHUB_SHA::7} -t 7zrv/somemore:latest .
8188 docker push 7zrv/somemore:${GITHUB_SHA::7}
82- docker push 7zrv/somemore:latest
89+ docker push 7zrv/somemore:latest
90+
91+ - name : SonarCloud 빌드및 분석
92+ env :
93+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
94+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
95+ run : ./gradlew build sonar --info
You can’t perform that action at this time.
0 commit comments