Build and push assets-precompiled Mastodon Docker image using CircleCI.
Currently we support only AWS ECR as Docker image repository. Contributions are welcome to support other repositories. (e.g. Docker Hub, Quay.io, etc.)
- Fork this repository
- Enable CircleCI integration
- Set environment variables on CircleCI
- Run CircleCI job to build and push Docker image
Note: We use CircleCI build number for each built Docker image tag.
For aws ecr get-login
.
For aws ecr get-login
.
For aws ecr get-login
.
For docker push ${AWS_ECR_URL}:${CIRCLE_BUILD_NUM}
.
For git clone ${MASTODON_GIT_URL:-https://github.com/tootsuite/mastodon.git}
.
Set this to build Docker image from another Mastodon Git repository.
Set this to specify the branch or the tag of the Git repository to build.