File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- name : Docker Image
1+ name : Release
22
33on :
44 release :
@@ -16,30 +16,30 @@ jobs:
1616 packages : write
1717
1818 steps :
19- - name : Checkout repository
20- uses : actions/checkout@v2
19+ - uses : actions/checkout@v4
2120
22- - name : Log into registry ${{ env.REGISTRY }}
23- uses : docker/login-action@v1
21+ - uses : docker/setup-qemu-action@v3
22+ - uses : docker/setup-buildx-action@v3
23+
24+ - uses : docker/login-action@v3
2425 with :
2526 registry : ${{ env.REGISTRY }}
2627 username : ${{ github.actor }}
2728 password : ${{ secrets.GITHUB_TOKEN }}
2829
29- - name : Extract Docker metadata
30+ - uses : docker/ metadata-action@v5
3031 id : meta
31- uses : docker/metadata-action@v3
3232 with :
3333 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3434 tags : |
3535 type=ref,event=branch
3636 type=ref,event=pr
3737 type=semver,pattern={{version}}
3838
39- - name : Build and push Docker image
40- uses : docker/build-push-action@v2
39+ - uses : docker/build-push-action@v4
4140 with :
4241 context : .
42+ platforms : linux/amd64,linux/arm64
4343 push : true
4444 tags : ${{ steps.meta.outputs.tags }}
4545 labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments