2525
2626 steps :
2727 - name : Checkout code
28- uses : actions/checkout@v2
28+ uses : actions/checkout@v5
2929
3030 - name : Extract version for tags
3131 run : |
@@ -42,19 +42,19 @@ jobs:
4242 cosign-release : ' v2.2.2'
4343
4444 - name : Set up Docker Buildx
45- uses : docker/setup-buildx-action@v1
45+ uses : docker/setup-buildx-action@v3
4646
4747 - name : Login to registry
4848 if : github.event_name != 'pull_request'
49- uses : docker/login-action@v1
49+ uses : docker/login-action@v3
5050 with :
5151 registry : ${{ env.REGISTRY }}
5252 username : ${{ github.repository_owner }}
5353 password : ${{ secrets.GITHUB_TOKEN }}
5454
5555 - name : Set Docker metadata
5656 id : meta
57- uses : docker/metadata-action@v3
57+ uses : docker/metadata-action@v5
5858 with :
5959 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6060 tags : |
6464
6565 - name : Build and export Docker image to Docker
6666 id : build
67- uses : docker/build-push-action@v2
67+ uses : docker/build-push-action@v6
6868 with :
6969 load : true
7070 tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:testing
8080 - name : Push Docker image
8181 id : push
8282 if : github.event_name != 'pull_request'
83- uses : docker/build-push-action@v2
83+ uses : docker/build-push-action@v6
8484 with :
8585 context : .
8686 push : true
0 commit comments