Skip to content

Commit 01b00fb

Browse files
committed
chore: minor fixes on CI/CD
1 parent 6647b58 commit 01b00fb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,13 @@ jobs:
7878
run: |
7979
docker build -t $ECR_REGISTRY/rcmonteiro_devops_nest_ci:$TAG .
8080
docker push $ECR_REGISTRY/rcmonteiro_devops_nest_ci:$TAG
81+
docker tag -t $ECR_REGISTRY/rcmonteiro_devops_nest_ci:latest
82+
docker push $ECR_REGISTRY/rcmonteiro_devops_nest_ci:latest
8183
IMAGE=$(echo $ECR_REGISTRY/rcmonteiro_devops_nest_ci:$TAG)
8284
echo "image=$IMAGE" >> $GITHUB_OUTPUT
8385
8486
- name: Deploy to AWS App Runner
87+
id: deploy-app-runner
8588
uses: awslabs/amazon-app-runner-deploy@main
8689
with:
8790
service: rcmonteiro_devops_nest_api
@@ -91,6 +94,11 @@ jobs:
9194
cpu: 1
9295
memory: 2
9396
port: 3000
97+
wait-for-service-stability-seconds: 180
98+
99+
- name: App Runner Check Status
100+
run: |
101+
echo "App Runner Status: ${{ steps.deploy-app-runner.outputs.service-url }}"
94102
95103
96104
# ------------------------------------------------------------

0 commit comments

Comments
 (0)