- webui: task rows referenced Go-style field names but store.Task JSON-marshals with lowercase tags, so every task row rendered blank - add .gitea/workflows/deploy.yml: build+push archied and archie-agent images to the registry on merge to main - docker-compose.yml: add a watchtower service so carina picks up new images and restarts the daemons without needing CI to SSH in
30 lines
953 B
YAML
30 lines
953 B
YAML
# Builds and pushes the archied and archie-agent images on every merge
|
|
# to main. carina's watchtower container (see docker-compose.yml) picks
|
|
# up the new images and restarts the running daemons — this workflow
|
|
# never touches carina directly.
|
|
name: deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Log in to registry
|
|
run: echo "${{ secrets.DEPLOY_TOKEN }}" | docker login git.catlow.cloud -u sam --password-stdin
|
|
|
|
- name: Build and push archied
|
|
run: |
|
|
docker build -f Dockerfile.archied -t git.catlow.cloud/sam/archied:latest .
|
|
docker push git.catlow.cloud/sam/archied:latest
|
|
|
|
- name: Build and push archie-agent
|
|
run: |
|
|
docker build -f Dockerfile -t git.catlow.cloud/sam/archie-agent:latest .
|
|
docker push git.catlow.cloud/sam/archie-agent:latest
|