diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 27a9ba6..61f4bd6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,10 +8,11 @@ jobs: build: name: Build image runs-on: ubuntu-latest - - name: Checkout repo - uses: actions/checkout@v3 steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: @@ -23,7 +24,7 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@v1 with: - mask-password: 'true' + mask-password: "true" - name: Build, tag, and push docker image to Amazon ECR env: @@ -32,4 +33,4 @@ jobs: IMAGE_TAG: ${{ github.sha }} run: | docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG . - docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG \ No newline at end of file + docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG