A docker image to build a composer repository using satis, and upload it to an AWS S3 bucket.
This image extends composer/satis image.
The script requires the following environment variables:
| Name | Description | Required |
|---|---|---|
AWS_ACCESS_KEY_ID |
Your AWS access key | Required |
AWS_SECRET_ACCESS_KEY |
Your AWS secret access key | Required |
AWS_DEFAULT_REGION |
The AWS region the bucket is in | Required |
GITHUB_AUTH |
Personal access token for access to GitHub. Use this to avoid hitting GitHub API rate limits. | Optional |
S3_BUCKET |
The bucket to write the artifacts to | Required |
S3_PATH |
The path inside the bucket to write the artifacts to | Optional |
The command to run the container
docker run -it -e "GITHUB_AUTH=xyz" -e "AWS_ACCESS_KEY_ID=xyz" -e "AWS_SECRET_ACCESS_KEY=xyz" -e "S3_BUCKET=s3-bucket" -e "AWS_DEFAULT_REGION=eu-west-1" -v <satis/config/folder>:/build dottori/satis