Commit ec7154d 1 parent 5dc13ce commit ec7154d Copy full SHA for ec7154d
File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 4
4
name : Build & Push Docker Image to AWS ECR
5
5
6
6
on :
7
- release :
8
- types : [published]
7
+ push :
8
+ branches :
9
+ - main
9
10
10
11
env :
11
12
AWS_REGION : ${{ secrets.AWS_REGION }}
48
49
push : true
49
50
tags : |
50
51
${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.AWS_ECR_REPO }}:latest
51
- ${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.AWS_ECR_REPO }}:${{ steps.vars.outputs.sha }}
52
+ ${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.AWS_ECR_REPO }}:${{ steps.vars.outputs.sha }}
Original file line number Diff line number Diff line change 4
4
name : Deploy ECS Prod
5
5
6
6
on :
7
- release :
8
- types : [published]
7
+ push :
8
+ branches :
9
+ - main
9
10
10
11
env :
11
12
AWS_REGION : ${{ secrets.AWS_REGION }}
38
39
task-definition : infra/aws-ecs/task_definition_${{ env.ENVIRONMENT }}.json
39
40
service : nodewatch-${{ env.ENVIRONMENT }}-service
40
41
cluster : nodewatch-${{ env.ENVIRONMENT }}-cluster
41
- wait-for-service-stability : true
42
+ wait-for-service-stability : true
You can’t perform that action at this time.
0 commit comments