-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathkaniko-taskdef.json
36 lines (36 loc) · 1.13 KB
/
kaniko-taskdef.json
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
35
36
{
"family": "kaniko-builder",
"taskRoleArn": "arn:aws:iam::111222333444:role/AmazonEcsKanikoTaskRole",
"executionRoleArn": "arn:aws:iam::111222333444:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"containerDefinitions": [
{
"name": "kaniko",
"image": "gcr.io/kaniko-project/executor:latest",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/aws/ecs/service/kaniko",
"awslogs-region": "eu-west-1",
"awslogs-stream-prefix": "kaniko"
}
},
"command": [
"--context",
"git://github.com/ollypom/mysfits.git",
"--context-sub-path",
"./api",
"--dockerfile",
"Dockerfile.v3",
"--destination",
"111222333444.dkr.ecr.eu-west-1.amazonaws.com/mysfits:latest",
"--force"
]
}
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "512",
"memory": "1024"
}