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 1717 required : false
1818 type : boolean
1919 default : false
20+ runner :
21+ required : false
22+ type : string
23+ default : ' ubuntu-24.04'
2024
2125defaults :
2226 run :
3236 security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
3337 packages : write # for docker/build-push-action to push to GHCR
3438 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 }}
3640 services :
3741 registry :
3842 image : registry:3
Original file line number Diff line number Diff line change @@ -223,6 +223,7 @@ jobs:
223223 platforms : ${{ matrix.platforms }}
224224 tag : ${{ inputs.release_version || '' }}
225225 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' }}
226227 permissions :
227228 contents : read # for docker/build-push-action to read repo content
228229 security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
@@ -239,6 +240,7 @@ jobs:
239240 platforms : " linux/arm64, linux/amd64"
240241 tag : ${{ inputs.release_version || '' }}
241242 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' }}
242244 permissions :
243245 contents : read # for docker/build-push-action to read repo content
244246 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