Documented author, changes, and message

This commit is contained in:
Rickard von Essen 2016-11-26 18:34:49 +01:00
parent 73c5eac4f0
commit cb78cb331d
No known key found for this signature in database
GPG Key ID: E0C0327388876CBA
1 changed files with 8 additions and 0 deletions

View File

@ -86,6 +86,8 @@ You must specify (only) one of `commit`, `discard`, or `export_path`.
### Optional:
- `author` (string) - Set the author (e-mail) of a commit.
- `aws_access_key` (string) - The AWS access key used to communicate with AWS.
[Learn how to set this.](/docs/builders/amazon.html#specifying-amazon-credentials)
@ -97,6 +99,10 @@ You must specify (only) one of `commit`, `discard`, or `export_path`.
probably don't need it. This will also be read from the `AWS_SESSION_TOKEN`
environmental variable.
- `changes` (array of strings) - Dockerfile instructions to add to the commit.
Example of instructions are `CMD`, `ENTRYPOINT`, `ENV`, and `EXPOSE`. Example:
`[ "USER ubuntu", "WORKDIR /app", "EXPOSE 8080" ]`
- `ecr_login` (boolean) - Defaults to false. If true, the builder will login in
order to pull the image from
[Amazon EC2 Container Registry (ECR)](https://aws.amazon.com/ecr/).
@ -116,6 +122,8 @@ You must specify (only) one of `commit`, `discard`, or `export_path`.
- `login_server` (string) - The server address to login to.
- `message` (string) - Set a message for the commit.
- `privileged` (boolean) - If true, run the docker container with the
`--privileged` flag. This defaults to false if not set.