File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 2020 description : " The name of the repo to build container"
2121 required : true
2222 type : string
23+ runner_name :
24+ description : " Name of the runner"
25+ required : true
26+ type : string
27+ environment_name :
28+ description : " GitHub environment to use for this build"
29+ required : true
30+ type : string
2331
2432jobs :
2533 docker-build :
34+ runs-on : ${{ inputs.runner_name }}
35+ environment : ${{ inputs.environment_name }}
2636 steps :
2737 - name : Checkout
2838 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -131,20 +131,18 @@ jobs:
131131
132132 cicd-container-build :
133133 needs : [pre-flight, cicd-wait-in-queue]
134- runs-on : self-hosted-nemo
135134 if : |
136135 (
137136 success()
138137 || needs.pre-flight.outputs.is_ci_workload == 'true'
139138 || needs.pre-flight.outputs.force_run_all == 'true'
140139 )
141140 && !cancelled()
142- environment : nemo-ci
143- steps :
144- - name : Build docker container
145- uses : ./.github/workflows/_build_container.yml
146- with :
147- repo_name : " Automodel"
141+ uses : ./.github/workflows/_build_container.yml
142+ with :
143+ environment_name : " nemo-ci"
144+ repo_name : " Automodel"
145+ runner_name : self-hosted-nemo
148146
149147 cicd-unit-tests :
150148 strategy :
You can’t perform that action at this time.
0 commit comments