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
@ -19,12 +20,13 @@ steps:
from_secret: AWS_CREDS
ECR_URL:
from_secret: ECR_URL
- name: build
- name: tag
image: atlassian/default-image:2
when:
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