Skip to content

Commit 84a3d05

Browse files
committed
fix: docker no cache warning
1 parent 0eff8c0 commit 84a3d05

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/prod-deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
id: login-ecr
3838
uses: aws-actions/amazon-ecr-login@v1
3939
with:
40-
mask-password: 'true'
40+
mask-password: "true"
4141

4242
# This is a separate action that sets up buildx runner
4343
- name: Setup Docker Buildx
@@ -52,6 +52,10 @@ jobs:
5252
restore-keys: |
5353
${{ runner.os }}-buildx-
5454
55+
# Create cache directory if it doesn't exist
56+
- name: Ensure cache directory exists
57+
run: mkdir -p /tmp/.buildx-cache
58+
5559
- name: Build, tag, and push image to Amazon ECR
5660
id: build-image
5761
env:

app/(protected)/admin/books/[id]/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ import {
77
BreadcrumbSeparator,
88
} from '@/components/ui/breadcrumb'
99
import { getBook } from '@/lib/api/book'
10-
import { BookDown, Calendar, Hash, Library, Pen } from 'lucide-react'
11-
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
12-
import { ThreeDBook } from '@/components/books/three-d-book'
1310
import { Button } from '@/components/ui/button'
14-
import { Badge } from '@/components/ui/badge'
11+
import { Pen } from 'lucide-react'
1512
import Link from 'next/link'
1613
import { DetailBook } from '@/components/books/DetailBook'
1714

0 commit comments

Comments
 (0)