Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): Add docker check #383

Merged
merged 6 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker Check

on:
push:
paths:
- '**Dockerfile'
pull_request:
paths:
- '**Dockerfile'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build Docker Image
run: |
for dir in app/*/ ; do
if [ -f "$dir/Dockerfile" ]; then
docker build -f "$dir/Dockerfile" "$dir"
fi
done
1 change: 1 addition & 0 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ COPY --from=builder /app/out/full/ .
COPY turbo.json turbo.json



rajdip-b marked this conversation as resolved.
Show resolved Hide resolved
RUN pnpm turbo build --filter=web...

FROM base AS runner
Expand Down
Loading