diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9c4cf92..7d70e2c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -41,6 +41,7 @@ jobs: - name: Build Image uses: docker/build-push-action@v6 with: + context: . push: true platforms: linux/amd64 provenance: false @@ -66,6 +67,7 @@ jobs: - name: Build Image uses: docker/build-push-action@v6 with: + context: . push: true platforms: linux/arm64 tags: ${{ env.IMAGE_NAME }}-arm64 diff --git a/src/domain/activity/common/util/scheduler/purge-unused-image.job.ts b/src/domain/activity/common/util/scheduler/purge-unused-image.job.ts index 607f267..9a6eee7 100644 --- a/src/domain/activity/common/util/scheduler/purge-unused-image.job.ts +++ b/src/domain/activity/common/util/scheduler/purge-unused-image.job.ts @@ -36,13 +36,19 @@ export class PurgeUnusedImageJob { ...(await this.projectRepository.findAll()) .map((project) => project.content) .flatMap((content) => this.toImagesFromHtml(content)) + + .filter((key) => !key.startsWith('data:image')) .map((image) => this.activityService.extractKeyFromUrl(image)), ...(await this.projectRepository.findAll()) .map((project) => project.image) + + .filter((key) => !key.startsWith('data:image')) .map((image) => this.activityService.extractKeyFromUrl(image)), ...(await this.socialRepository.findAll()) .flatMap((social) => social.contents) .map((content) => content.image) + + .filter((key) => !key.startsWith('data:image')) .map((image) => this.activityService.extractKeyFromUrl(image)), ]; diff --git a/src/domain/member/service/member.service.ts b/src/domain/member/service/member.service.ts index 4f1f6c9..a1599af 100644 --- a/src/domain/member/service/member.service.ts +++ b/src/domain/member/service/member.service.ts @@ -47,7 +47,6 @@ export class MemberService { member: Member, { description, github, instagram, blog }: UpdateMyInfoRequestDto, ): Promise { - console.log(description, github, instagram, blog); member.description = description; member.link = { github, instagram, blog };