1313 runs-on : ubuntu-24.04
1414 if : github.event_name == 'pull_request'
1515 steps :
16- - uses : actions/checkout@v4
17- - uses : hadolint/hadolint-action@v3.1 .0
16+ - uses : actions/checkout@v7
17+ - uses : hadolint/hadolint-action@v3.3 .0
1818 name : Lint Dockerfile
1919 with :
2020 dockerfile : Dockerfile
@@ -28,40 +28,40 @@ jobs:
2828 format : ' sarif'
2929 output : ' trivy-results.sarif'
3030 - name : Upload Trivy scan results to GitHub Security tab
31- uses : github/codeql-action/upload-sarif@v3
31+ uses : github/codeql-action/upload-sarif@v4
3232 with :
3333 sarif_file : ' trivy-results.sarif'
3434 build-push-docker :
3535 runs-on : ubuntu-24.04
3636 if : github.event_name == 'push'
3737 steps :
38- - uses : actions/checkout@v4
38+ - uses : actions/checkout@v7
3939 - name : Set up QEMU
40- uses : docker/setup-qemu-action@v3
40+ uses : docker/setup-qemu-action@v4
4141 - name : Set up Docker Buildx
42- uses : docker/setup-buildx-action@v3
42+ uses : docker/setup-buildx-action@v4
4343 with :
4444 platforms : linux/amd64,linux/arm64
4545 - name : Log in to Docker Hub
46- uses : docker/login-action@v3
46+ uses : docker/login-action@v4
4747 with :
4848 username : ${{ secrets.DOCKER_USERNAME }}
4949 password : ${{ secrets.DOCKER_TOKEN }}
5050 - name : Log in to the Container registry
51- uses : docker/login-action@v3
51+ uses : docker/login-action@v4
5252 with :
5353 registry : ghcr.io
5454 username : ${{ github.actor }}
5555 password : ${{ secrets.GITHUB_TOKEN }}
5656 - name : Extract metadata (tags, labels) for Docker
5757 id : meta
58- uses : docker/metadata-action@v5
58+ uses : docker/metadata-action@v6
5959 with :
6060 images : |
6161 bervproject/${{ env.IMAGE_NAME }}
6262 ghcr.io/${{ github.repository }}
6363 - name : Build and push Docker images
64- uses : docker/build-push-action@v6
64+ uses : docker/build-push-action@v7
6565 with :
6666 context : .
6767 push : true
0 commit comments