@@ -18,30 +18,30 @@ jobs:
1818
1919 steps :
2020 - name : Checkout repository
21- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
2222
2323 - name : Set up QEMU
24- uses : docker/setup-qemu-action@v2
24+ uses : docker/setup-qemu-action@v3
2525
2626 - name : Set up Docker Buildx
27- uses : docker/setup-buildx-action@v2
27+ uses : docker/setup-buildx-action@v3
2828
2929 - name : Log into registry ${{ env.REGISTRY }}
3030 if : github.event_name != 'pull_request'
31- uses : docker/login-action@v2
31+ uses : docker/login-action@v3
3232 with :
3333 registry : ${{ env.REGISTRY }}
3434 username : ${{ github.actor }}
3535 password : ${{ secrets.GITHUB_TOKEN }}
3636
37- - name : Extract Docker metadata
37+ - name : Extract metadata (tags, labels) for Docker
3838 id : meta
39- uses : docker/metadata-action@v4
39+ uses : docker/metadata-action@v5
4040 with :
4141 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4242
4343 - name : Build and push Docker image (postgres:14)
44- uses : docker/build-push-action@v3
44+ uses : docker/build-push-action@v5
4545 with :
4646 push : ${{ github.event_name != 'pull_request' }}
4747 platforms : linux/amd64,linux/arm64
@@ -50,10 +50,10 @@ jobs:
5050 labels : ${{ steps.meta.outputs.labels }}
5151
5252 - name : Build and push Docker image (postgres:16)
53- uses : docker/build-push-action@v3
53+ uses : docker/build-push-action@v5
5454 with :
5555 push : ${{ github.event_name != 'pull_request' }}
5656 platforms : linux/amd64,linux/arm64
5757 file : 16/Dockerfile
58- tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:14 ,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
58+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:16 ,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
5959 labels : ${{ steps.meta.outputs.labels }}
0 commit comments