1313 zm_version : ${{ steps.set-version.outputs.zm_version }}
1414 es_version : ${{ steps.set-version.outputs.es_version }}
1515 steps :
16- # Only build latest tagged if release version
16+ # Only build latest tagged if release version
1717 - name : Set ES Build Version
1818 id : set-version
1919 run : |
@@ -65,21 +65,21 @@ jobs:
6565
6666 steps :
6767 - name : Checkout
68- uses : actions/checkout@v2
68+ uses : actions/checkout@v4
6969
7070 - name : Set up QEMU
71- uses : docker/setup-qemu-action@v1
71+ uses : docker/setup-qemu-action@v3
7272
7373 - name : Set up Docker Buildx
74- uses : docker/setup-buildx-action@v1
74+ uses : docker/setup-buildx-action@v3
7575 with :
7676 driver-opts : |
7777 env.BUILDKIT_STEP_LOG_MAX_SIZE=10000000
7878 env.BUILDKIT_STEP_LOG_MAX_SPEED=100000000
7979 install : true
8080
8181 - name : Cache Docker layers
82- uses : actions/cache@v2
82+ uses : actions/cache@v4
8383 continue-on-error : true
8484 with :
8585 path : /tmp/.buildx-cache
@@ -122,7 +122,7 @@ jobs:
122122 docker save ci:${{ github.run_number }} | gzip > ci-${{ matrix.arch_friendly }}-${{ github.run_number }}.tar.gz
123123
124124 - name : Upload Artifact
125- uses : actions/upload-artifact@v2
125+ uses : actions/upload-artifact@v4
126126 with :
127127 name : ci-${{ matrix.arch_friendly }}-${{ github.run_number }}
128128 path : ci-${{ matrix.arch_friendly }}-${{ github.run_number }}.tar.gz
@@ -140,13 +140,13 @@ jobs:
140140 - arm64
141141 steps :
142142 - name : Checkout
143- uses : actions/checkout@v2
143+ uses : actions/checkout@v4
144144
145145 - name : Set up QEMU
146- uses : docker/setup-qemu-action@v1
146+ uses : docker/setup-qemu-action@v3
147147
148148 - name : Download container artifact
149- uses : actions/download-artifact@v2
149+ uses : actions/download-artifact@v4
150150 with :
151151 name : ci-${{ matrix.arch }}-${{ github.run_number }}
152152
@@ -206,10 +206,10 @@ jobs:
206206 runs-on : ubuntu-latest
207207 steps :
208208 - name : Download container artifact
209- uses : actions/download-artifact@v2
209+ uses : actions/download-artifact@v4
210210
211211 - name : Upload Release Asset
212- uses : softprops/action-gh-release@v1
212+ uses : softprops/action-gh-release@v2
213213 with :
214214 tag_name : zm_v${{ needs.getversion.outputs.zm_version }}-es_${{ needs.getversion.outputs.es_version }}
215215 files : ci-*/ci-*.tar.gz
@@ -236,23 +236,23 @@ jobs:
236236 - arm64
237237 registry :
238238 - {
239- url : " https://index.docker.io/v1/" ,
240- username : DOCKER_USERNAME,
241- password : DOCKER_PASSWORD,
242- repo : yaoa/eventserver-base
243- }
239+ url : " https://index.docker.io/v1/" ,
240+ username : DOCKER_USERNAME,
241+ password : DOCKER_PASSWORD,
242+ repo : yaoa/eventserver-base,
243+ }
244244 - {
245- url : ghcr.io/zoneminder-containers,
246- username : GCHR_USERNAME,
247- password : GHCR_PAT,
248- repo : ghcr.io/zoneminder-containers/eventserver-base
249- }
245+ url : ghcr.io/zoneminder-containers,
246+ username : GCHR_USERNAME,
247+ password : GHCR_PAT,
248+ repo : ghcr.io/zoneminder-containers/eventserver-base,
249+ }
250250 steps :
251251 - name : Checkout
252- uses : actions/checkout@v2
252+ uses : actions/checkout@v4
253253
254254 - name : Download container artifact
255- uses : actions/download-artifact@v2
255+ uses : actions/download-artifact@v4
256256 with :
257257 name : ci-${{ matrix.arch }}-${{ github.run_number }}
258258
@@ -334,20 +334,20 @@ jobs:
334334 matrix :
335335 registry :
336336 - {
337- url : " https://index.docker.io/v1/" ,
338- username : DOCKER_USERNAME,
339- password : DOCKER_PASSWORD,
340- repo : yaoa/eventserver-base
341- }
337+ url : " https://index.docker.io/v1/" ,
338+ username : DOCKER_USERNAME,
339+ password : DOCKER_PASSWORD,
340+ repo : yaoa/eventserver-base,
341+ }
342342 - {
343- url : ghcr.io/zoneminder-containers,
344- username : GCHR_USERNAME,
345- password : GHCR_PAT,
346- repo : ghcr.io/zoneminder-containers/eventserver-base
347- }
343+ url : ghcr.io/zoneminder-containers,
344+ username : GCHR_USERNAME,
345+ password : GHCR_PAT,
346+ repo : ghcr.io/zoneminder-containers/eventserver-base,
347+ }
348348 steps :
349349 - name : Checkout
350- uses : actions/checkout@v2
350+ uses : actions/checkout@v4
351351
352352 - name : Docker login
353353 run : |
0 commit comments