feat: add On-Demand Scan module #677
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Build Test | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'Dockerfile' | |
| - 'pyproject.toml' | |
| - 'uv.lock' | |
| - 'falcon_mcp/**' | |
| - '.github/workflows/docker-build-test.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| docker-build-test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 | |
| - name: Build multi-platform Docker image | |
| uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 | |
| with: | |
| context: . | |
| platforms: linux/amd64,linux/arm64 | |
| push: false | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| tags: | | |
| falcon-mcp:test | |
| falcon-mcp:pr-${{ github.event.pull_request.number }} | |
| - name: Test Docker image (amd64) | |
| run: | | |
| # Build for local testing (amd64 only for running tests) | |
| docker buildx build \ | |
| --platform linux/amd64 \ | |
| --load \ | |
| --tag falcon-mcp:test-local \ | |
| . | |
| # Test basic functionality - should show help without errors | |
| echo "Testing falcon-mcp --help..." | |
| docker run --rm falcon-mcp:test-local --help | |
| # Test version command | TBD: Add version check | |
| #echo "Testing falcon-mcp --version..." | |
| #docker run --rm falcon-mcp:test-local --version || true | |
| echo "✅ Docker image smoke tests passed!" |