File tree Expand file tree Collapse file tree 1 file changed +3
-70
lines changed Expand file tree Collapse file tree 1 file changed +3
-70
lines changed Original file line number Diff line number Diff line change 1111 type : string
1212 required : true
1313 default : ' staging'
14- aws_region :
15- description : AWS region
16- required : false
17- type : string
18- aws_ecr_region :
19- description : AWS region where ECR is set up
20- required : false
21- type : string
22- aws_ecr_account_id :
23- description : AWS ECR account id (if ECR is on a separate AWS account)
24- required : false
25- type : string
26- timeout_minutes :
27- required : false
28- type : number
29- default : 30
30- context :
31- required : false
32- type : string
33- default : " ."
34- file :
35- required : false
36- type : string
37- target :
38- required : false
39- type : string
40- description : Target stage to build
41- platforms :
42- required : false
43- type : string
44- default : " linux/amd64"
45- provenance :
46- required : false
47- type : boolean
48- default : false
49- build_args :
50- required : false
51- type : string
52- ssm_param_store_prefix :
53- required : false
54- type : string
55- ssm_param_store_destination_path :
56- required : false
57- type : string
58- secret_files :
59- description : Docker build secrets
60- required : false
61- type : string
62- aws_role_to_assume :
63- description : AWS IAM role to assume
64- required : false
65- type : string
66- task_def_path :
67- required : true
68- type : string
69- default : ' .aws/ecs/task-definition-app-staging.json'
70- container_name :
71- required : true
72- type : string
73- description : Name of the container in task definition
74- default : ' js-react-example'
75- ecs_service :
76- required : true
77- type : string
78- default : ' js-react-example'
79- ecs_cluster :
80- required : true
81- type : string
14+
8215 push :
8316 branches :
8417 - main
9023 build-push-image :
9124 name : Build deploy image and push to registry
9225 runs-on : ubuntu-latest
93- environment : ${{ vars .environment }}
26+ environment : ${{ inputs .environment }}
9427 timeout-minutes : ${{ vars.timeout_minutes }}
9528 steps :
9629 - name : Check out code
14780 deploy-to-ecs :
14881 name : ' Deploy to ECS'
14982 runs-on : ubuntu-latest
150- environment : ${{ vars .environment }}
83+ environment : ${{ inputs .environment }}
15184 timeout-minutes : ${{ vars.timeout_minutes }}
15285 steps :
15386 - name : Check out code
You can’t perform that action at this time.
0 commit comments