32
32
jobs :
33
33
docker :
34
34
name : Build and push Docker image
35
- runs-on : ubuntu-22.04
35
+ runs-on : ubuntu-latest
36
36
environment : development
37
37
38
38
if : contains(github.event.pull_request.labels.*.name, 'deploy') || (github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch')
66
66
67
67
rspec_system :
68
68
name : Rspec System
69
- runs-on : ubuntu-22.04
69
+ runs-on : ubuntu-latest
70
70
if : github.event_name != 'workflow_dispatch'
71
71
72
72
services :
@@ -119,7 +119,7 @@ jobs:
119
119
120
120
rspec_other :
121
121
name : Rspec Other
122
- runs-on : ubuntu-22.04
122
+ runs-on : ubuntu-latest
123
123
if : github.event_name != 'workflow_dispatch'
124
124
125
125
services :
@@ -174,7 +174,7 @@ jobs:
174
174
name : Deploy to review environment
175
175
concurrency : deploy_review_${{ github.event.pull_request.number }}
176
176
needs : [docker, rspec_system, rspec_other]
177
- runs-on : ubuntu-22.04
177
+ runs-on : ubuntu-latest
178
178
if : contains(github.event.pull_request.labels.*.name, 'deploy')
179
179
environment : review
180
180
permissions :
@@ -201,7 +201,7 @@ jobs:
201
201
202
202
deploy_non_production :
203
203
name : Deploy to ${{ matrix.environment }} environment
204
- runs-on : ubuntu-22.04
204
+ runs-on : ubuntu-latest
205
205
needs : [docker, rspec_system, rspec_other]
206
206
if : github.ref == 'refs/heads/main' && github.event_name == 'push'
207
207
concurrency : deploy_${{ matrix.environment }}
@@ -231,7 +231,7 @@ jobs:
231
231
deploy_production :
232
232
name : Deploy to production environment
233
233
needs : [docker, rspec_system, rspec_other, deploy_non_production]
234
- runs-on : ubuntu-22.04
234
+ runs-on : ubuntu-latest
235
235
if : github.ref == 'refs/heads/main' && github.event_name == 'push'
236
236
environment :
237
237
name : production
@@ -254,7 +254,7 @@ jobs:
254
254
255
255
notify_slack_of_failures :
256
256
name : Notify Slack of failures
257
- runs-on : ubuntu-22.04
257
+ runs-on : ubuntu-latest
258
258
environment : development
259
259
260
260
if : ${{ failure() && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
@@ -289,7 +289,7 @@ jobs:
289
289
290
290
deploy_custom :
291
291
name : Custom deployment to ${{ inputs.environment }}
292
- runs-on : ubuntu-22.04
292
+ runs-on : ubuntu-latest
293
293
if : github.event_name == 'workflow_dispatch'
294
294
environment :
295
295
name : ${{ inputs.environment }}
0 commit comments