Adding docs on how to use with AWS ECR (#18744)
* Adding docs on how to use with AWS ECR, given customer confusion in https://github.com/dependabot/dependabot-core/issues/3457 * Explicitly refer to docker-registry type Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
This commit is contained in:
@@ -767,6 +767,19 @@ registries:
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
The `docker-registry` type can also be used to pull from Amazon ECR using static AWS credentials.
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
registries:
|
||||
ecr-docker:
|
||||
type: docker-registry
|
||||
url: https://1234567890.dkr.ecr.us-east-1.amazonaws.com
|
||||
username: ${{secrets.ECR_AWS_ACCESS_KEY_ID}}
|
||||
password: ${{secrets.ECR_AWS_SECRET_ACCESS_KEY}}
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
#### `git`
|
||||
|
||||
The `git` type supports username and password.
|
||||
@@ -907,4 +920,4 @@ registries:
|
||||
url: https://rubygems.pkg.github.com/octocat/github_api
|
||||
token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}}
|
||||
```
|
||||
{% endraw %}
|
||||
{% endraw %}
|
||||
|
||||
Reference in New Issue
Block a user