Compare commits

..

1 commit

Author SHA1 Message Date
892015e684 fixed duplicate step name
Some checks failed
continuous-integration/drone/push Build is failing
2020-08-06 08:40:03 -05:00

View file

@ -10,6 +10,7 @@ steps:
branch:
- main
commands:
- mkdir -p ~/.aws/
- echo $AWS_CREDS | base64 -d > ~/.aws/credentials
- aws ecr get-login-password | docker login --username AWS --password-stdin $ECR_URL
- docker build . -t $ECR_URL/home_api:latest
@ -25,6 +26,7 @@ steps:
event:
- tag
commands:
- mkdir -p ~/.aws/
- echo $AWS_CREDS | base64 -d > ~/.aws/credentials
- aws ecr get-login-password | docker login --username AWS --password-stdin $ECR_URL
- docker build . -t $ECR_URL/home_api:$DRONE_TAG