-
Notifications
You must be signed in to change notification settings - Fork 0
/
alfred.yaml
34 lines (32 loc) · 1022 Bytes
/
alfred.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '3.4'
x-alfred-steps:
- name: Docker build and push to AWS ECR
image: wuakitv/alfred-ecr
when:
branch:
- master
settings:
aws_access_key_id:
from_consul: bot-amazon-kinesis-agent-ecr/aws_access_key_id
aws_secret_access_key:
from_consul_secret: bot-amazon-kinesis-agent-ecr/aws_secret_access_key
ecr_uri: 585257864808.dkr.ecr.eu-west-1.amazonaws.com
repo: wuakitv/amazon-kinesis-agent
tags:
- prod-${GIT_COMMIT}
- ${GIT_TAG}
- latest
- name: Docker build and push to AWS ECR
image: wuakitv/alfred-ecr
when:
branch:
- ^((?!master).)*$
settings:
aws_access_key_id:
from_consul: bot-amazon-kinesis-agent-ecr/aws_access_key_id
aws_secret_access_key:
from_consul_secret: bot-amazon-kinesis-agent-ecr/aws_secret_access_key
ecr_uri: 585257864808.dkr.ecr.eu-west-1.amazonaws.com
repo: wuakitv/amazon-kinesis-agent
tags:
- dev-${GIT_COMMIT}