Skip to content
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
67 changes: 16 additions & 51 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,51 +1,16 @@
# Git files
.git
.gitignore
.gitattributes

# CI/CD
.github

# Documentation
*.md
docs/
DEMO-SCRIPT.md
IMPLEMENTATION.md
AGENTS.md
CHANGELOG.md

# Build artifacts
waza
coverage.txt
coverage.out
results.json
transcripts/

# Development
.vscode/
.idea/
*.swp
*.swo
*~

# Test files
*_test.go

# Examples (not needed in image)
examples/
skills/

# Web assets (if not needed)
web/

# Templates
.ai-team
.ai-team-templates

# Python legacy
waza/
__pycache__/
*.pyc

# Misc
.DS_Store
*

!go.mod
!go.sum
!cmd/
!internal/
!schemas/
!web/embed.go
!web/dist/
!docs.go
!docs/graders/
Comment thread
chlowell marked this conversation as resolved.
!version.txt

# Re-exclude test files pulled in by the allowlist above
**/*_test.go
**/testdata/
Comment thread
chlowell marked this conversation as resolved.
45 changes: 45 additions & 0 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Docker Build and Verify

on:
push:
branches: [main]
paths: &docker-paths
- 'Dockerfile'
- '.dockerignore'
- 'go.mod'
- 'go.sum'
- 'cmd/**'
- 'internal/**'
- 'web/**'
- 'schemas/**'
- 'docs.go'
- 'docs/graders/**'
- '.github/workflows/docker-ci.yml'
pull_request:
branches: [main]
paths: *docker-paths

jobs:
docker-build:
name: Build and Verify Docker Image
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

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

- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
push: false
load: true
tags: waza:ci-${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=min

- name: Verify
run: docker run --rm waza:ci-${{ github.sha }} --version
Loading