From 449a98728d11f8bd8c9a5b1550537bed2b43630a Mon Sep 17 00:00:00 2001 From: aqib0770 Date: Mon, 27 Nov 2023 01:49:54 +0530 Subject: [PATCH] yaml file update-2 --- .github/workflows/main.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5103fbe..2c35eb6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -30,15 +30,15 @@ jobs: needs: integration runs-on: ubuntu-latest steps: - - name: Checkout Delivery + - name: Checkout Code uses: actions/checkout@v3 - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID}} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY}} - aws-region: ${{ secrets.AWS_DEFAULT_REGION}} + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ${{ secrets.AWS_DEFAULT_REGION }} - name: Login to Amazon ECR id: login-ecr @@ -51,6 +51,6 @@ jobs: run: | # Build a docker container and # push it to ECR so that it can - # be deployed to ECS - docker build -t ${{ secrets.AWS_ECR_REPO_URI}}:$IMAGE_TAG . - docker push ${{ secrets.AWS_ECR_REPO_URI}}:$IMAGE_TAG \ No newline at end of file + # be deployed to ECS. + docker build -t ${{ secrets.AWS_ECR_REPO_URI }}:$IMAGE_TAG . + docker push ${{ secrets.AWS_ECR_REPO_URI }}:$IMAGE_TAG \ No newline at end of file