Skip to content
Closed
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
102 changes: 102 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Dependencies (installed in Docker)
node_modules
.pnp
.pnp.js

# Build outputs
.next
out
dist
build
.turbo

# Testing
coverage
__tests__
*.test.ts
*.test.tsx
*.spec.ts
*.spec.tsx

# Development files
.DS_Store
*.pem
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment files
.env
.env*.local
.env.test
.portainerenv

# IDE
.vscode
.idea
*.swp
*.swo
*~

# Git
.git
.gitignore
.gitmodules

# Docker
docker-compose*.yml
docker-compose*.yaml
Dockerfile*
.dockerignore

# Documentation
README.md
docs
*.md

# CI/CD
.github
.gitlab-ci.yml

# Vercel
.vercel

# TypeScript
*.tsbuildinfo
next-env.d.ts

# Tinybird
.tinyb

# Python
.venv
__pycache__
*.pyc

# React Email
.react-email

# Sentry
.sentryclirc

# pnpm
.pnpm-store

# Serwist
**/public/serwist**
**/public/sw**
**/public/worker**
**/public/fallback**
**/public/precache**

# Sanity
.sanity

# Misc
TODO.md
tasks/
logs

# Prisma generated (will be regenerated in Docker)
apps/web/generated
66 changes: 66 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: build-and-push

on:
push:
branches: [ main ]
tags: [ 'v*', 'release-*' ]
workflow_dispatch: {}

permissions:
contents: read
packages: write

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/inbox-zero

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

jobs:
build-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up QEMU (multi-arch)
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=sha
type=ref,event=tag
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile.prod
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

# Portainer auto-redeploy removed for manual deployment workflow
127 changes: 0 additions & 127 deletions .github/workflows/build_and_publish_docker.yml

This file was deleted.

76 changes: 0 additions & 76 deletions .github/workflows/claude-code-review.yml

This file was deleted.

Loading