|
18 | 18 |
|
19 | 19 | jobs:
|
20 | 20 | build:
|
21 |
| - runs-on: ubuntu-20.04 |
| 21 | + runs-on: ubuntu-24.04 |
22 | 22 | steps:
|
23 |
| - - uses: actions/checkout@v3 |
| 23 | + - uses: actions/checkout@v4 |
24 | 24 | with:
|
25 | 25 | # Need tags for Makefile logic to work
|
26 | 26 | fetch-depth: 0
|
27 | 27 | - name: Build the Docker images
|
28 | 28 | run: make images
|
29 | 29 | scan:
|
30 | 30 | needs: [ "build" ]
|
31 |
| - runs-on: ubuntu-20.04 |
| 31 | + runs-on: ubuntu-24.04 |
32 | 32 | steps:
|
33 |
| - - uses: actions/checkout@v3 |
| 33 | + - uses: actions/checkout@v4 |
34 | 34 | with:
|
35 | 35 | # Need tags for Makefile logic to work
|
36 | 36 | fetch-depth: 0
|
@@ -58,28 +58,28 @@ jobs:
|
58 | 58 | skip-files: /usr/local/bin/kubectl
|
59 | 59 | # just upload root scan results
|
60 | 60 | - name: Upload Trivy Scan Results to GitHub Security Tab
|
61 |
| - uses: github/codeql-action/upload-sarif@v2 |
| 61 | + uses: github/codeql-action/upload-sarif@v3 |
62 | 62 | if: always()
|
63 | 63 | with:
|
64 | 64 | sarif_file: 'trivy-results-root.sarif'
|
65 | 65 |
|
66 | 66 | deploy:
|
67 | 67 | needs: [ "scan" ]
|
68 |
| - runs-on: ubuntu-20.04 |
| 68 | + runs-on: ubuntu-24.04 |
69 | 69 | if: github.event_name == 'release' && github.event.action == 'created'
|
70 | 70 | steps:
|
71 | 71 | - name: Login to Docker Hub
|
72 |
| - uses: docker/login-action@v2 |
| 72 | + uses: docker/login-action@v3 |
73 | 73 | with:
|
74 | 74 | username: ${{ secrets.DOCKERHUB_USERNAME }}
|
75 | 75 | password: ${{ secrets.DOCKERHUB_TOKEN }}
|
76 | 76 | - name: Login to GitHub Container Registry
|
77 |
| - uses: docker/login-action@v2 |
| 77 | + uses: docker/login-action@v3 |
78 | 78 | with:
|
79 | 79 | registry: ghcr.io
|
80 | 80 | username: ${{ github.actor }}
|
81 | 81 | password: ${{ secrets.GHCR_TOKEN }}
|
82 |
| - - uses: actions/checkout@v2 |
| 82 | + - uses: actions/checkout@v4 |
83 | 83 | with:
|
84 | 84 | # Need tags for Makefile logic to work
|
85 | 85 | fetch-depth: 0
|
|
0 commit comments