Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option to import images from public registries #3623

Merged
merged 1 commit into from
Aug 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
},
"ImportImageByManifestDigest": {
"$ref": "./examples/ImportImageByManifestDigest.json"
},
"ImportImageFromPublicRegistry": {
"$ref": "./examples/ImportImageFromPublicRegistry.json"
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -1189,13 +1192,16 @@
},
"ImportSource": {
"required": [
"resourceId",
"sourceImage"
],
"type": "object",
"properties": {
"resourceId": {
"description": "The resource identifier of the target Azure Container Registry.",
"description": "The resource identifier of the source Azure Container Registry.",
"type": "string"
},
"registryUri": {
"description": "The address of the source registry.",
"type": "string"
},
"sourceImage": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2017-10-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"parameters": {
"source": {
"registryUri": "registry.hub.docker.com",
"sourceImage":"library/hello-world"
},
"targetTags": [
"targetRepository:targetTag"
],
"untaggedTargetRepositories": [
"targetRepository1"
],
"mode": "Force"
}
},
"responses": {
"200": {},
"202": {}
}
}