We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ec0c98 commit 98f5198Copy full SHA for 98f5198
.github/workflows/reusable_dockerfile_pipeline.yml
@@ -26,6 +26,11 @@ on:
26
type: string
27
description: 'string containing a space separated list build of args e.g. "TARGETOS=linux TARGETARCH=amd64"'
28
default: ""
29
+ runner-label:
30
+ required: false
31
+ type: string
32
+ description: "The runner label to use for the job"
33
+ default: "ubuntu-latest"
34
35
env:
36
GITHUB_REG: ghcr.io
@@ -34,7 +39,7 @@ env:
39
40
jobs:
41
prepare-env:
37
- runs-on: "ubuntu-latest"
42
+ runs-on: ${{ inputs.runner-label || 'ubuntu-latest' }}
38
43
outputs:
44
repo_owner: ${{ steps.setting_env.outputs.repo_owner }}
45
output_short_sha: ${{ steps.setting_env.outputs.short_sha }}
0 commit comments