Created
October 6, 2022 16:35
-
-
Save dmd/aca8d79bf20eadc41c814ee7903b74c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# aws ecr-public create-repository --repository-name rapidtide-cloud --region us-east-1 | |
# RETURNED: | |
REPO=public.ecr.aws/l0v4l2q2/rapidtide-cloud | |
docker build -t dmd3eorg/rapidtide-cloud . | |
docker buildx build --push --platform=linux/amd64,linux/arm64 -t dmd3eorg/rapidtide-cloud . | |
docker login --username AWS --password $(aws ecr-public get-login-password --region us-east-1) $REPO | |
docker buildx build --push --platform=linux/amd64,linux/arm64 -t $REPO . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment