Skip to content

Commit 309fe32

Browse files
Rodrigo Dos SantosRodrigo Dos Santos
authored andcommitted
Fixed AWS ECS Configuration - build person-service
1 parent 241690f commit 309fe32

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/docker-build-push-image-person-service.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,12 @@ jobs:
9090
${{ secrets.ECR_REPOSITORY }}/person-service:latest
9191
${{ secrets.ECR_REPOSITORY }}/person-service:${{ env.GITHUB_SHA }}
9292
93-
- uses: microsoft/variable-substitution@v1
93+
- name: Replace secrets
94+
- uses: franzbischoff/replace_envs@v1
9495
with:
95-
files: ".github/.aws/*.json"
96+
from_file: ${{ env.ECS_TASK_DEFINITION }}
97+
to_file: ${{ env.ECS_TASK_DEFINITION }}
98+
commit: 'false'
9699
env:
97100
SPRING_DATA_MONGODB_URI_REPLACE: ${{ env.SPRING_DATA_MONGODB_URI }}
98101
COM_MICROSERVICE_AUTHENTICATION_JWT_KEY_VALUE_REPLACE: ${{ env.COM_MICROSERVICE_AUTHENTICATION_JWT_KEY_VALUE }}

0 commit comments

Comments
 (0)