Created
December 29, 2017 09:38
-
-
Save halfb00t/17b814fd58a5eaa98f9376c905ca1d11 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
#!/bin/bash | |
eval "$(aws ecr get-login --no-include-email --region $2)" | |
docker build -t $1 -f docker/Dockerfile docker/. | |
docker push $1:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment