Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSidebotham committed Nov 6, 2024
1 parent 1412622 commit a952f08
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions avm/res/container-registry/registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,15 @@ module registry 'br/public:avm/res/container-registry/registry:<version>' = {
cacheRules: [
{
credentialSetResourceId: '<credentialSetResourceId>'
name: 'customRule'
name: 'customRuleWithAuth'
sourceRepository: 'docker.io/library/hello-world'
targetRepository: 'cached-docker-hub/hello-world'
}
{
name: 'customRuleWithoutAuth'
sourceRepository: 'mcr.microsoft.com/bicep/avm/*'
targetRepository: 'avm/*'
}
]
credentialSets: [
{
Expand Down Expand Up @@ -116,9 +121,14 @@ module registry 'br/public:avm/res/container-registry/registry:<version>' = {
"value": [
{
"credentialSetResourceId": "<credentialSetResourceId>",
"name": "customRule",
"name": "customRuleWithAuth",
"sourceRepository": "docker.io/library/hello-world",
"targetRepository": "cached-docker-hub/hello-world"
},
{
"name": "customRuleWithoutAuth",
"sourceRepository": "mcr.microsoft.com/bicep/avm/*",
"targetRepository": "avm/*"
}
]
},
Expand Down Expand Up @@ -165,10 +175,15 @@ param acrSku = 'Standard'
param cacheRules = [
{
credentialSetResourceId: '<credentialSetResourceId>'
name: 'customRule'
name: 'customRuleWithAuth'
sourceRepository: 'docker.io/library/hello-world'
targetRepository: 'cached-docker-hub/hello-world'
}
{
name: 'customRuleWithoutAuth'
sourceRepository: 'mcr.microsoft.com/bicep/avm/*'
targetRepository: 'avm/*'
}
]
param credentialSets = [
{
Expand Down

0 comments on commit a952f08

Please sign in to comment.