Skip to content

Commit

Permalink
Merge pull request #4 from nilupulmadhawa/development-v2
Browse files Browse the repository at this point in the history
Development v2
  • Loading branch information
nilupulmadhawa authored May 11, 2024
2 parents f2d3544 + 6c505b7 commit fc8cadf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
if: failure() && steps.build-push.conclusion == 'failure'
run: echo "Build or push failed, taking recovery steps or notifying stakeholders."
# Here, you could include a script to send notifications via Slack, email, or another service.
- name: Build, tag, and push image to Amazon ECR
- name: Build, tag, and push image to Amazon ECR - auth_service
id: build-image
continue-on-error: true
env:
Expand All @@ -57,7 +57,7 @@ jobs:
docker build -t $ECR_REGISTRY/$REPOSITORY:$IMAGE_TAG ./auth_service
docker push $ECR_REGISTRY/$REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
- name: Build, tag, and push image to Amazon ECR
- name: Build, tag, and push image to Amazon ECR -item_service
id: build-image2
continue-on-error: true
env:
Expand All @@ -71,8 +71,8 @@ jobs:
docker build -t $ECR_REGISTRY/$REPOSITORY:$IMAGE_TAG ./item_service
docker push $ECR_REGISTRY/$REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
- name: Amazon ECS task definition - auth_service

- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
Expand Down

0 comments on commit fc8cadf

Please sign in to comment.