Skip to content

Commit c14b72a

Browse files
author
Priom Chowdhury
authored
fix: deployment gh action (#219)
* fix: deployment gh action * fix: yaml format
1 parent 791329d commit c14b72a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build_prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Build & Push Docker Image to AWS ECR
66
on:
77
push:
88
tags:
9-
- v*
9+
- v1.*
1010

1111
env:
1212
AWS_REGION: ${{ secrets.AWS_REGION }}
@@ -49,4 +49,4 @@ jobs:
4949
push: true
5050
tags: |
5151
${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.AWS_ECR_REPO }}:latest
52-
${{ 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 }}

.github/workflows/deploy_prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Deploy ECS Prod
66
on:
77
push:
88
tags:
9-
- v*
9+
- v1.*
1010

1111
env:
1212
AWS_REGION: ${{ secrets.AWS_REGION }}
@@ -39,4 +39,4 @@ jobs:
3939
task-definition: ecs/task_definition_${{ env.ENVIRONMENT }}.json
4040
service: nodewatch-${{ env.ENVIRONMENT }}-service
4141
cluster: nodewatch-${{ env.ENVIRONMENT }}-cluster
42-
wait-for-service-stability: true
42+
wait-for-service-stability: true

0 commit comments

Comments
 (0)