adding environment variables
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Conner McCall 2020-08-06 09:08:07 -05:00
parent c02ca1d4ed
commit 4b9c5778f6

View file

@ -14,6 +14,13 @@ steps:
secret_key: $AWS_ACCESS_KEY_SECRET secret_key: $AWS_ACCESS_KEY_SECRET
repo: home_api repo: home_api
registry: $ECR_URL registry: $ECR_URL
environment:
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY_ID
AWS_ACCESS_KEY_SECRET:
from_secret: AWS_ACCESS_KEY_SECRET
ECR_URL:
from_secret: ECR_URL
- name: publish-tag - name: publish-tag
image: plugins/ecr image: plugins/ecr
when: when:
@ -27,3 +34,10 @@ steps:
tags: tags:
- latest - latest
- $DRONE_TAG - $DRONE_TAG
environment:
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY_ID
AWS_ACCESS_KEY_SECRET:
from_secret: AWS_ACCESS_KEY_SECRET
ECR_URL:
from_secret: ECR_URL