Compare commits
1 commit
63200760cd
...
892015e684
| Author | SHA1 | Date | |
|---|---|---|---|
| 892015e684 |
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue