README.md in dockly-3.4.1 vs README.md in dockly-4.0.0
- old
+ new
@@ -172,10 +172,15 @@
- `registry`
- required: `false`
- allows one
- class: `Dockly::Docker::Registry`
- description: a registry to push to in lieu of exporting as a tar -- the registry will be automatically pulled upon installing the package
+- `ecr`
+ - required: `false`
+ - allows one
+ - class: `Dockly::Docker::ECR`
+ - description: an AWS ECR Docker registry to push to in lieu of exporting as a tar -- the registry will be automatically pulled upon installing the package
Need finer control of Docker packages? We also wrote [docker-api](https://github.com/swipely/docker-api).
`registry`
--------
@@ -197,9 +202,26 @@
- description: the user's password; unless supplied, `ENV['DOCKER_REGISTRY_PASSWORD']` will be checked. not that `ENV['DOCKER_REGISTRY_PASSWORD']` is required to be set on the host on to which the package will be deployed
- `server_address`:
- required: `true`
- default: `https://index.docker.io/v1`
- description: the server where the registry lives
+
+`ecr`
+--------
+
+The `ecr` DSL is used to define AWS ECR Docker registries. It has the following attributes:
+
+- `server_address`
+ - required: `true`
+ - description: the server where the registry lives without the repo name, eg `accountid.dkr.ecr.region.amazonaws.com`
+- `username`
+ - required: `false`
+ - default: pulled from auth data obtained using assumed role's credentials
+ - description: the username to authenticate
+- `password`
+ - required: `false`
+ - default: pulled from auth data obtained using assumed role's credentials
+ - description: the password to authenticate
`foreman`
---------
Optional