-
-
Save 9oelM/676de137d8723c3c47e955bffbe1983d to your computer and use it in GitHub Desktop.
This file contains 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
DEV_HELLO_REPO_URI="{your-account-id}.dkr.ecr.{your-region}.amazonaws.com/dev-hello" | |
# change to your region for the ease of finding Docker images later | |
timestamp=$(TZ=":Asia/Seoul" date +%Y%m%d%H%M%S) | |
docker build -t "${DEV_HELLO_REPO_URI}:latest" -t "${DEV_HELLO_REPO_URI}:${timestamp}" ./packages/hello | |
docker push "${DEV_HELLO_REPO_URI}:latest" | |
docker push "${DEV_HELLO_REPO_URI}:${timestamp}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment