File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : master
66
7+ permissions :
8+ contents : read
9+
710jobs :
811 docker :
912 runs-on : ubuntu-latest
@@ -12,30 +15,30 @@ jobs:
1215
1316 steps :
1417 - name : Checkout
15- uses : actions/checkout@v2
18+ uses : actions/checkout@v4
1619
1720 - name : Login to DockerHub
18- uses : docker/login-action@v1
21+ uses : docker/login-action@v3
1922 with :
2023 username : ${{ secrets.DOCKERHUB_USERNAME }}
2124 password : ${{ secrets.DOCKERHUB_TOKEN }}
2225
2326 - name : Set up QEMU
24- uses : docker/setup-qemu-action@v1
27+ uses : docker/setup-qemu-action@v3
2528
2629 - name : Set up Docker Buildx
27- uses : docker/setup-buildx-action@v1
30+ uses : docker/setup-buildx-action@v3
2831
2932 - name : Cache Docker layers
30- uses : actions/cache@v2
33+ uses : actions/cache@v4
3134 with :
3235 path : /tmp/.buildx-cache
3336 key : ${{ runner.os }}-buildx-${{ github.sha }}
3437 restore-keys : |
3538 ${{ runner.os }}-buildx-
3639
3740 - name : Build and push
38- uses : docker/build-push-action@v2
41+ uses : docker/build-push-action@v6
3942 with :
4043 context : .
4144 push : true
You can’t perform that action at this time.
0 commit comments