Created
October 6, 2022 16:34
-
-
Save dmd/a68ba431da7d24b680d3845e9b3cadce 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