File tree Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Set up Docker Buildx
12- uses : docker/setup-buildx-action@v1
12+ uses : docker/setup-buildx-action@v3
1313 - name : Docker Build
14- uses : docker/build-push-action@v2
14+ uses : docker/build-push-action@v4
1515 with :
1616 file : other/docker/alpine-s390x/Dockerfile
17+
18+ docker-coverage :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Set up Docker Buildx
22+ uses : docker/setup-buildx-action@v3
23+ with :
24+ driver : docker
25+ - name : Login to DockerHub
26+ if : ${{ github.event_name == 'push' }}
27+ uses : docker/login-action@v3
28+ with :
29+ username : ${{ secrets.DOCKERHUB_USERNAME }}
30+ password : ${{ secrets.DOCKERHUB_TOKEN }}
31+ - name : Build toxchat/c-toxcore:sources
32+ uses : docker/build-push-action@v4
33+ with :
34+ file : other/docker/sources/Dockerfile
35+ tags : toxchat/c-toxcore:sources
36+ - name : Build and push
37+ uses : docker/build-push-action@v4
38+ with :
39+ file : other/docker/coverage/Dockerfile
40+ push : ${{ github.event_name == 'push' }}
41+ tags : toxchat/c-toxcore:coverage
42+ cache-from : type=registry,ref=toxchat/c-toxcore:coverage
43+ cache-to : type=inline
Original file line number Diff line number Diff line change @@ -19,13 +19,14 @@ jobs:
1919 SONAR_SERVER_URL : " https://sonarcloud.io"
2020 BUILD_WRAPPER_OUT_DIR : build_wrapper_output_directory # Directory where build-wrapper output will be placed
2121 steps :
22- - uses : actions/checkout@v2
22+ - uses : actions/checkout@v4
2323 with :
2424 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
2525 submodules : recursive
2626 - name : Set up JDK 17
27- uses : actions/setup-java@v1
27+ uses : actions/setup-java@v2
2828 with :
29+ distribution : " zulu"
2930 java-version : 17
3031 - name : Download and set up sonar-scanner
3132 env :
You can’t perform that action at this time.
0 commit comments