2323 - linux/arm/v6
2424 - linux/ppc64le
2525 - linux/s390x
26- runs-on : ubuntu-20 .04
26+ runs-on : ubuntu-22 .04
2727 services :
2828 registry :
2929 image : registry:2
@@ -32,24 +32,24 @@ jobs:
3232 steps :
3333 -
3434 name : Checkout
35- uses : actions/checkout@v3
35+ uses : actions/checkout@v6
3636 with :
3737 fetch-depth : 1
3838 -
3939 name : Cache Docker layers
40- uses : actions/cache@v2
40+ uses : actions/cache@v5
4141 with :
4242 path : /tmp/.buildx-cache
4343 key : static-web-server-${{ matrix.arch }}-buildx-${{ github.sha }}
4444 restore-keys : |
4545 static-web-server-${{ matrix.arch }}-buildx-
4646 -
4747 name : Set up QEMU
48- uses : docker/setup-qemu-action@v2
48+ uses : docker/setup-qemu-action@v3
4949 -
5050 name : Docker meta alpine
5151 id : meta_alpine
52- uses : docker/metadata-action@v3
52+ uses : docker/metadata-action@v5
5353 with :
5454 images : ${{ env.DOCKER_IMAGE }}
5555 flavor : |
@@ -64,12 +64,12 @@ jobs:
6464 type=sha
6565 -
6666 name : Set up Docker Buildx
67- uses : docker/setup-buildx-action@v2
67+ uses : docker/setup-buildx-action@v3
6868 with :
6969 driver-opts : network=host
7070 -
7171 name : Build and export to Docker client
72- uses : docker/build-push-action@v3
72+ uses : docker/build-push-action@v6
7373 with :
7474 context : .
7575 platforms : ${{ matrix.arch }}
7979 labels : ${{ steps.meta_alpine.outputs.labels }}
8080 -
8181 name : Build and push to local registry
82- uses : docker/build-push-action@v3
82+ uses : docker/build-push-action@v6
8383 with :
8484 context : .
8585 platforms : ${{ matrix.arch }}
9191 cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
9292 -
9393 name : Test
94- uses : addnab/docker-run-action@v1
94+ uses : addnab/docker-run-action@v3
9595 with :
9696 image : ${{ env.DOCKER_IMAGE }}
9797 options : -v ${{ github.workspace }}:/cgit
0 commit comments