Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DharshiBalasubramaniyam authored Jun 30, 2024
1 parent be2363e commit 297a12f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "main" ] # Trigger on pull requests to the main branch

jobs:
build:
build-and-deploy:
runs-on: ubuntu-latest # Runs on the latest version of Ubuntu | Default operating system environment for workflows unless explicitly specified.

steps:
Expand Down Expand Up @@ -44,6 +44,7 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2

# Instead of ECR we can also push the image to Dockhub and pull it to ECS.
- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
Expand Down

0 comments on commit 297a12f

Please sign in to comment.