File tree Expand file tree Collapse file tree 6 files changed +1346
-1301
lines changed Expand file tree Collapse file tree 6 files changed +1346
-1301
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ The only required input is `project-name`.
2121 The location (in this repository) of the [ buildspec file] [ codebuild buildspec ]
2222 that CodeBuild requires.
2323 By default, the action uses the buildspec file location
24- that you configured in the CodeBuild project.
25-
24+ that you configured in the CodeBuild project.
25+
2626 Alternatively, you can pass in an inline buildspec definition like so:
2727
2828 ```
@@ -50,13 +50,14 @@ The only required input is `project-name`.
5050 - npm prune --production
5151 post_build:
5252 commands:
53- - echo Build completed on `date`
53+ - echo Build completed on `date`
5454 artifacts:
5555 type: zip
5656 files:
5757 - package.json
5858 - package-lock.json
5959 ```
60+
60611 . ** compute-type-override** (optional) :
6162 The name of a compute type for this build that overrides the one specified
6263 in the build project.
@@ -66,6 +67,8 @@ The only required input is `project-name`.
66671 . ** image-override** (optional) :
6768 The name of an image for this build that overrides the one specified
6869 in the build project.
70+ 1 . ** image-pull-credentials-type-override** (optional) :
71+ The type of credentials CodeBuild uses to pull images in your build.
69721 . ** disable-source-override** (optional) :
7073 Set to ` true ` if you want to disable providing ` sourceVersion ` ,
7174 ` sourceTypeOverride ` and ` sourceLocationOverride ` to CodeBuild.
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ inputs:
1919 image-override :
2020 description : ' The name of an image for this build that overrides the one specified in the build project.'
2121 required : false
22+ image-pull-credentials-type-override :
23+ description : ' The type of credentials CodeBuild uses to pull images in your build.'
24+ required : false
2225 env-vars-for-codebuild :
2326 description : ' Comma separated list of environment variables to send to CodeBuild'
2427 required : false
Original file line number Diff line number Diff line change @@ -190,9 +190,15 @@ function githubInputs() {
190190 const environmentTypeOverride =
191191 core . getInput ( "environment-type-override" , { required : false } ) ||
192192 undefined ;
193+
193194 const imageOverride =
194195 core . getInput ( "image-override" , { required : false } ) || undefined ;
195196
197+ const imagePullCredentialsTypeOverride =
198+ core . getInput ( "image-pull-credentials-type-override" , {
199+ required : false ,
200+ } ) || undefined ;
201+
196202 const envPassthrough = core
197203 . getInput ( "env-vars-for-codebuild" , { required : false } )
198204 . split ( "," )
@@ -222,6 +228,7 @@ function githubInputs() {
222228 computeTypeOverride,
223229 environmentTypeOverride,
224230 imageOverride,
231+ imagePullCredentialsTypeOverride,
225232 envPassthrough,
226233 updateInterval,
227234 updateBackOff,
@@ -240,6 +247,7 @@ function inputs2Parameters(inputs) {
240247 computeTypeOverride,
241248 environmentTypeOverride,
242249 imageOverride,
250+ imagePullCredentialsTypeOverride,
243251 envPassthrough = [ ] ,
244252 disableSourceOverride,
245253 } = inputs ;
@@ -267,6 +275,7 @@ function inputs2Parameters(inputs) {
267275 computeTypeOverride,
268276 environmentTypeOverride,
269277 imageOverride,
278+ imagePullCredentialsTypeOverride,
270279 environmentVariablesOverride,
271280 } ;
272281}
You can’t perform that action at this time.
0 commit comments