mobiledev/taskflow

TaskFlow, a team task board you run from the web or from Claude and ChatGPT. FastAPI + DataK3 + appid + Models + MCP.

A remix template · 0 remixes · Remix mobiledev/taskflow

.github/workflows/ci.yml

# Dodil Git runs this on every push (.github is the workflow format, not GitHub).
# The image goes to THIS repo's org, so every remix builds into its own org.
name: ci
on: [push]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with: { python-version: "3.12" }
      - run: pip install -r app/requirements.txt pytest
      - run: python -m pytest -q tests
  build:
    needs: test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: image name
        id: img
        # Image names must be lowercase; some org names are not.
        run: |
          org="${DODIL_GIT_ORG:?}"; repo="${DODIL_GIT_REPO_NAME:?}"
          echo "ref=$DODIL_REGISTRY_URL/${org,,}/${repo,,}:$DODIL_GIT_SHA" >> "$GITHUB_OUTPUT"
        shell: bash
        env:
          DODIL_REGISTRY_URL: ${{ secrets.DODIL_REGISTRY_URL }}
      - uses: docker/login-action@v3
        with:
          registry: ${{ secrets.DODIL_REGISTRY_URL }}
          username: ci
          password: ${{ secrets.DODIL_REGISTRY_TOKEN }}
      - uses: docker/build-push-action@v6
        with:
          context: app
          push: true
          tags: ${{ steps.img.outputs.ref }}