rgboards/rg-boards
Lanes, team task boards you run from the web or from Claude/ChatGPT (MCP). FastAPI + DataK3 + appid + Dodil Models.
A remix template · 0 remixes · Remix rgboards/rg-boards
.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: cd app && 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 (e.g. IHDIASH).
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 }}