Skip to content

Commit

Permalink
Added input variable addBaseImageData
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfiorenzano committed May 11, 2021
1 parent 7041e8b commit a4ac4e0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"loc.group.displayName.advanced": "Advanced Options",
"loc.input.label.containerregistrytype": "Container registry type",
"loc.input.help.containerregistrytype": "Select 'Azure Container Registry' to connect to it by using an Azure Service Connection. Select 'Container registry' to connect to Docker Hub or any other private container registry.",
"loc.input.label.addBaseImageData": "Add base image metadata to image(s)",
"loc.input.help.addBaseImageData": "By default base image data like base image name and digest are added which helps with traceability. You can opt out of this default behavior by using this input.",
"loc.input.label.dockerRegistryEndpoint": "Docker registry service connection",
"loc.input.help.dockerRegistryEndpoint": "Select a Docker registry service connection. Required for commands that need to authenticate with a registry.",
"loc.input.label.azureSubscriptionEndpoint": "Azure subscription",
Expand Down
8 changes: 8 additions & 0 deletions Tasks/DockerV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@
"groupName": "containerRegistry",
"helpMarkDown": "Select 'Azure Container Registry' to connect to it by using an Azure Service Connection. Select 'Container registry' to connect to Docker Hub or any other private container registry."
},
{
"name": "addBaseImageData",
"type": "boolean",
"label": "Add base image metadata to image(s)",
"groupName": "commands",
"defaultValue": "true",
"helpMarkDown": "By default base image data like base image name and digest are added which helps with traceability. You can opt out of this default behavior by using this input."
},
{
"name": "dockerRegistryEndpoint",
"type": "connectedService:dockerregistry",
Expand Down
8 changes: 8 additions & 0 deletions Tasks/DockerV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@
"groupName": "containerRegistry",
"helpMarkDown": "ms-resource:loc.input.help.containerregistrytype"
},
{
"name": "addBaseImageData",
"type": "boolean",
"label": "ms-resource:loc.input.label.addBaseImageData",
"groupName": "commands",
"defaultValue": "true",
"helpMarkDown": "ms-resource:loc.input.help.addBaseImageData"
},
{
"name": "dockerRegistryEndpoint",
"type": "connectedService:dockerregistry",
Expand Down

0 comments on commit a4ac4e0

Please sign in to comment.