Created
October 6, 2022 16:05
-
-
Save dmd/351a266149e8347afcf5771e1e15f54a 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 push dmd3eorg/rapidtide-cloud | |
docker login --username AWS --password $(aws ecr-public get-login-password --region us-east-1) $REPO | |
docker tag dmd3eorg/rapidtide-cloud:latest $REPO | |
docker push $REPO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment