@@ -173,7 +173,7 @@ jobs:
173173 uses : actions/github-script@v8
174174 env :
175175 INPUT_MATRIX-SIZE-LIMIT : ${{ env.MATRIX_SIZE_LIMIT }}
176- INPUT_RUNS-ON : ${{ inputs.runs-on || 'ubuntu-latest' }}
176+ INPUT_RUNS-ON : ${{ inputs.runs-on }}
177177 INPUT_CONTEXT : ${{ inputs.context }}
178178 INPUT_TARGET : ${{ inputs.target }}
179179 INPUT_BAKE-ALLOW : ${{ inputs.bake-allow }}
@@ -236,7 +236,7 @@ jobs:
236236 } else if (platforms.length === 0) {
237237 includes.push({
238238 index: 0,
239- 'runs-on': inpRunsOn
239+ 'runs-on': inpRunsOn || 'ubuntu-latest'
240240 });
241241 } else {
242242 platforms.forEach((platform, index) => {
@@ -261,8 +261,8 @@ jobs:
261261 - prepare
262262 permissions :
263263 contents : read
264- id-token : write # for signing attestation manifests with GitHub OIDC Token
265- packages : write # only used if pushing to GHCR but needs to be defined as caller must provide permissions ≥ to those used in the reusable workflow
264+ id-token : write # for signing attestation manifests and/or registry authentication with GitHub OIDC Token
265+ packages : write # for pushing manifests to GHCR if needed
266266 strategy :
267267 fail-fast : false
268268 matrix :
@@ -633,7 +633,8 @@ jobs:
633633 runs-on : ${{ inputs.runs-on || 'ubuntu-latest' }}
634634 permissions :
635635 contents : read
636- packages : write # only used if pushing to GHCR but needs to be defined as caller must provide permissions ≥ to those used in the reusable workflow
636+ id-token : write # for registry authentication with OIDC if needed
637+ packages : write # for pushing to GHCR when merging manifests if needed
637638 outputs :
638639 cosign-version : ${{ env.COSIGN_VERSION }}
639640 cosign-verify-commands : ${{ steps.set.outputs.cosign-verify-commands }}
0 commit comments