File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ jobs:
2020
2121 steps :
2222 - name : Check out the repo
23- uses : actions/checkout@v2
24-
23+ uses : actions/checkout@v4
24+ - name : Set up QEMU
25+ uses : docker/setup-qemu-action@v3
26+ - name : Set up Docker Buildx
27+ uses : docker/setup-buildx-action@v3
2528 - name : Log in to Docker Hub
26- uses : docker/login-action@v1
29+ uses : docker/login-action@v3
2730 with :
2831 username : ${{ secrets.DOCKERHUB_USERNAME }}
2932 password : ${{ secrets.DOCKERHUB_TOKEN }}
3538 images : feiyu563/prometheus-alert
3639
3740 - name : Build and push Docker image
38- uses : docker/build-push-action@v2
41+ uses : docker/build-push-action@v6
3942 with :
4043 context : .
44+ platforms : linux/amd64,linux/arm64
4145 push : true
46+ pull : true
4247 tags : ${{ steps.meta.outputs.tags }}
43- labels : ${{ steps.meta.outputs.labels }}
48+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments