From e2f495d30a245ad0a24cae7bfe170f9f71b6b16c Mon Sep 17 00:00:00 2001 From: Andreas Wittig Date: Sun, 18 Feb 2024 22:22:33 +0100 Subject: [PATCH] Improved docs --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 1573d36..47024d9 100644 --- a/README.md +++ b/README.md @@ -133,3 +133,13 @@ $ npm install $ aws cloudformation package --template-file mastodon.yaml --s3-bucket --output-template-file packaged.yml $ aws cloudformation deploy --template-file packaged.yml --stack-name mastodon-on-aws --capabilities CAPABILITY_IAM --parameter-overrides "DomainName=" "SecretKeyBase=" "OtpSecret=" "VapidPrivateKey=" "VapidPublicKey=" ``` + +Push Mastodon container image to ECR Public. + +``` +MASTODON_VERSION="v4.2.7" +docker pull ghcr.io/mastodon/mastodon:${MASTODON_VERSION} +docker image tag ghcr.io/mastodon/mastodon:${MASTODON_VERSION} public.ecr.aws/h6i3a8b9/mastodon:${MASTODON_VERSION} +aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/h6i3a8b9 +docker push public.ecr.aws/h6i3a8b9/mastodon:${MASTODON_VERSION} +``` \ No newline at end of file