File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 17
17
required : false
18
18
type : boolean
19
19
default : false
20
+ runner :
21
+ required : false
22
+ type : string
23
+ default : ' ubuntu-24.04'
20
24
21
25
defaults :
22
26
run :
32
36
security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
33
37
packages : write # for docker/build-push-action to push to GHCR
34
38
id-token : write # for docker/login to login to NGINX registry
35
- runs-on : ${{ github.repository_owner == 'nginx' && ( inputs.tag != '' || (github.event_name == 'push' && github.ref == 'refs/heads/main')) && 'ubuntu-24.04-amd64' || 'ubuntu-24.04' }}
39
+ runs-on : ${{ inputs.runner }}
36
40
services :
37
41
registry :
38
42
image : registry:3
Original file line number Diff line number Diff line change @@ -223,6 +223,7 @@ jobs:
223
223
platforms : ${{ matrix.platforms }}
224
224
tag : ${{ inputs.release_version || '' }}
225
225
dry_run : ${{ inputs.dry_run || false}}
226
+ runner : ${{ github.repository_owner == 'nginx' && (inputs.is_production_release || (github.event_name == 'push' && github.ref == 'refs/heads/main')) && 'ubuntu-24.04-amd64' || 'ubuntu-24.04' }}
226
227
permissions :
227
228
contents : read # for docker/build-push-action to read repo content
228
229
security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
@@ -239,6 +240,7 @@ jobs:
239
240
platforms : " linux/arm64, linux/amd64"
240
241
tag : ${{ inputs.release_version || '' }}
241
242
dry_run : ${{ inputs.dry_run || false }}
243
+ runner : ${{ github.repository_owner == 'nginx' && (inputs.is_production_release || (github.event_name == 'push' && github.ref == 'refs/heads/main')) && 'ubuntu-24.04-amd64' || 'ubuntu-24.04' }}
242
244
permissions :
243
245
contents : read # for docker/build-push-action to read repo content
244
246
security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
You can’t perform that action at this time.
0 commit comments