2222 runs-on : macos-11
2323 steps :
2424 - name : Checkout
25- uses : actions/checkout@v2
25+ uses : actions/checkout@v3
2626 - name : Test build script for darwin-amd64 - libgit2-all
2727 run : |
2828 make dev-test
@@ -46,20 +46,20 @@ jobs:
4646 - 5000:5000
4747 steps :
4848 - name : Checkout
49- uses : actions/checkout@v2
49+ uses : actions/checkout@v3
5050 - name : Unshallow
5151 run : git fetch --prune --unshallow
5252 - name : Setup Cosign
5353 uses : sigstore/cosign-installer@main
5454 - name : Set up QEMU
5555 id : qemu
56- uses : docker/setup-qemu-action@v1
56+ uses : docker/setup-qemu-action@v2
5757 with :
5858 image : tonistiigi/binfmt:latest
5959 platforms : ${{ env.PLATFORMS }}
6060 - name : Set up Docker Buildx
6161 id : buildx
62- uses : docker/setup-buildx-action@v1
62+ uses : docker/setup-buildx-action@v2
6363 with :
6464 config-inline : |
6565 [worker.oci]
7373 echo "Flags: ${{ steps.buildx.outputs.flags }}"
7474 echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
7575 - name : Cache Docker layers
76- uses : actions/cache@v2
76+ uses : actions/cache@v3
7777 id : cache
7878 with :
7979 path : /tmp/.buildx-cache
8383 - run : cat ./hack/static.sh
8484 - name : Build candidate image - libgit2 compiled with libssh2 and openssl
8585 id : build_candidate_libgit2_all
86- uses : docker/build-push-action@v2
86+ uses : docker/build-push-action@v3
8787 with :
8888 context : .
8989 file : Dockerfile
9494 cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
9595 - name : Build candidate image - libgit2 only
9696 id : build_candidate_libgti2_only
97- uses : docker/build-push-action@v2
97+ uses : docker/build-push-action@v3
9898 with :
9999 context : .
100100 file : Dockerfile.libgit2-only
@@ -121,7 +121,7 @@ jobs:
121121 mv /tmp/.buildx-cache-new /tmp/.buildx-cache
122122 - name : Login to GHCR
123123 if : github.event_name != 'pull_request'
124- uses : docker/login-action@v1
124+ uses : docker/login-action@v2
125125 with :
126126 registry : ghcr.io
127127 username : ${{ github.repository_owner }}
@@ -142,7 +142,7 @@ jobs:
142142 - name : Release candidate image - golang-with-libgit2-all
143143 id : release_candidate_libgit2_all
144144 if : github.event_name != 'pull_request'
145- uses : docker/build-push-action@v2
145+ uses : docker/build-push-action@v3
146146 with :
147147 context : .
148148 file : Dockerfile
@@ -178,7 +178,7 @@ jobs:
178178 - name : Release candidate image - golang-with-libgit2-only
179179 id : release_candidate_libgit2_only
180180 if : github.event_name != 'pull_request'
181- uses : docker/build-push-action@v2
181+ uses : docker/build-push-action@v3
182182 with :
183183 context : .
184184 file : Dockerfile.libgit2-only
0 commit comments