1313
1414jobs :
1515 build-and-push-image :
16- runs-on : ubuntu-latest
16+ runs-on : ubuntu-24.04
1717 permissions :
1818 contents : read
1919 packages : write
@@ -29,36 +29,36 @@ jobs:
2929 uses : docker/setup-buildx-action@v3
3030
3131 - name : Log in to the Container registry
32- uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
32+ uses : docker/login-action@v3
3333 with :
3434 registry : ${{ env.REGISTRY }}
3535 username : ${{ github.actor }}
3636 password : ${{ secrets.GITHUB_TOKEN }}
3737
3838 - name : Extract metadata (tags, labels) for frontend Docker image
3939 id : meta_frontend
40- uses : docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96
40+ uses : docker/metadata-action@v5
4141 with :
4242 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_FRONTEND }}
4343
4444 - name : Extract metadata (tags, labels) for backend Docker image
4545 id : meta_backend
46- uses : docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96
46+ uses : docker/metadata-action@v5
4747 with :
4848 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BACKEND }}
4949
5050 - name : Build and push frontend Docker image
51- uses : docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991
51+ uses : docker/build-push-action@v6
5252 with :
5353 context : frontend
5454 push : true
5555 file : frontend/Dockerfile
5656 tags : ${{ steps.meta_frontend.outputs.tags }}
5757 labels : ${{ steps.meta_frontend.outputs.labels }}
58- platforms : linux/amd64
58+ platforms : linux/amd64,linux/arm64/v8
5959
6060 - name : Build and push backend Docker image
61- uses : docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991
61+ uses : docker/build-push-action@v6
6262 with :
6363 context : backend
6464 push : true
0 commit comments