Skip to content

Commit

Permalink
cleanup(buildDockerAndPublishImage): remove builderImage arg (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve committed Jun 13, 2022
1 parent 403d9a0 commit 3f87a6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion vars/buildDockerAndPublishImage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import java.text.DateFormat
def call(String imageName, Map userConfig=[:]) {
def defaultConfig = [
agentLabels: 'docker || linux-amd64-docker', // String expression for the labels the agent must match
builderImage: 'jenkinsciinfra/builder:2.0.2', // Version managed by updatecli
automaticSemanticVersioning: false, // Do not automagically increase semantic version by default
includeImageNameInTag: false, // Set to true for multiple semversioned images built in parallel, will include the image name in tag to avoid conflict
dockerfile: 'Dockerfile', // Obvious default
Expand Down
1 change: 0 additions & 1 deletion vars/buildDockerAndPublishImage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ The following arguments are available for this function:
- String **imageName**: (Mandatory) name of the image to build, usually referenced as the "Repository" part of a Docker image name without any tag (Example: "builder" or "terraform").
- Map **config**: (Optional) custom configuration for the image build and deploy process. This map can hold any of the following keys:
* String **agentLabels** (Optional, defaults to "docker || linux-amd64-docker") String expression for the labels the agent must match.
* String **builderImage**: (Optional, defaults to "jenkinsciinfra/builder:2.0.2") Docker Image to be used for the container "builder" of the CI pod template.
* Boolean **automaticSemanticVersioning**: (Optional, defaults to "false") Should a release be created for every merge to the mainBranch. This uses "jx-release-version" to determine the version number based on the commit history.
* Boolean **includeImageNameInTag**: (Optional, defaults to "false") Set to true for multiple semversioned images built in parallel, will include the image name in tag to avoid conflict
* String **dockerfile**: (Optional, defaults to "Dockerfile") Relative path to the Dockerfile to use within the repository (Example: "build.dockerfile", "docker/Dockerfile").
Expand Down

0 comments on commit 3f87a6d

Please sign in to comment.