@@ -12,26 +12,29 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : checkout
15- uses : actions/checkout@v3
15+ uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 0
1818
19+ - uses : docker/setup-qemu-action@v3
20+ - uses : docker/setup-buildx-action@v3
21+
1922 - name : Log in to the ghcr
20- uses : docker/login-action@v1
23+ uses : docker/login-action@v3
2124 with :
2225 registry : ghcr.io
2326 username : ${{ github.actor }}
2427 password : ${{ secrets.GITHUB_TOKEN }}
2528
2629 - name : Log in to the docker
27- uses : docker/login-action@v1
30+ uses : docker/login-action@v3
2831 with :
2932 username : ${{ secrets.DOCKER_USERNAME }}
3033 password : ${{ secrets.DOCKER_PASSWORD }}
3134
3235 - name : Docker meta
3336 id : meta
34- uses : docker/metadata-action@v3
37+ uses : docker/metadata-action@v5
3538 with :
3639 images : |
3740 ghcr.io/${{ github.repository }}
4245 - name : Docker meta for debug version
4346 if : ${{ github.ref == 'refs/heads/master' }}
4447 id : debug-meta
45- uses : docker/metadata-action@v3
48+ uses : docker/metadata-action@v5
4649 with :
4750 images : |
4851 ghcr.io/${{ github.repository }}
@@ -52,15 +55,15 @@ jobs:
5255
5356 - name : Build and push image
5457 if : ${{ steps.meta.outputs.tags != '' }}
55- uses : docker/build-push-action@v2
58+ uses : docker/build-push-action@v5
5659 with :
5760 context : " ."
5861 push : true
5962 tags : ${{ steps.meta.outputs.tags }}
6063
6164 - name : " [debug version] Build and push image"
6265 if : ${{ github.ref == 'refs/heads/master' }}
63- uses : docker/build-push-action@v2
66+ uses : docker/build-push-action@v5
6467 with :
6568 context : " ."
6669 push : true
0 commit comments