-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add option to import images from public registries (#3623)
Allows users to import images from public registries instead of only Azure Container Registries. Only one registry source can be specified.
- Loading branch information
1 parent
b1347cc
commit ddbce7c
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...Microsoft.ContainerRegistry/stable/2017-10-01/examples/ImportImageFromPublicRegistry.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |