Skip to content

Commit

Permalink
fix: working directory error
Browse files Browse the repository at this point in the history
  • Loading branch information
GIVEN53 committed Sep 29, 2023
1 parent 6c8d8dd commit 86ddc16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-fluentbit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
run: |
docker build -t ${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.DEV_ECR_REPOSITORY }}:${{ env.IMAGE_TAG }} .
docker push ${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.DEV_ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}
working-directory: ./fluentbit
working-directory: fluentbit

- name: Build and push image to Amazon ECR (prod)
run: |
docker build -t ${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.PROD_ECR_REPOSITORY }}:${{ env.IMAGE_TAG }} .
docker push ${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com/${{ env.PROD_ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}
working-directory: ./fluentbit
working-directory: fluentbit

- name: Pull image from Amazon ECR and restart container in EC2 (dev)
uses: appleboy/ssh-action@master
Expand Down
2 changes: 1 addition & 1 deletion fluentbit/fluent-bit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
Name kinesis_streams
Match server.log
region ap-northeast-2
stream kn-server-log-${env}
stream kn-server-log-${env}

0 comments on commit 86ddc16

Please sign in to comment.