dmslanes/lanes
Lanes - team task boards with roles, history and an MCP endpoint for Claude and ChatGPT
A remix template · 0 remixes · Remix dmslanes/lanes
.github/workflows/build.yml
# Built by 'dodil git ci init'. Every push builds the image and pushes it to the
# org registry; .dodil/deploy.yaml then deploys it once this check is green.
# DODIL_REGISTRY_URL / DODIL_REGISTRY_TOKEN are injected into every job — never
# create or store them.
name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ${{ secrets.DODIL_REGISTRY_URL }} # REQUIRED — it defaults to docker.io
username: ci
password: ${{ secrets.DODIL_REGISTRY_TOKEN }}
- run: |
# the runner injects the org and repo, so a remix builds its own image
IMG="${{ secrets.DODIL_REGISTRY_URL }}/$DODIL_GIT_ORG/$DODIL_GIT_REPO_NAME:${{ github.sha }}"
docker build -t "$IMG" .
docker push "$IMG"