Includes MCP crash-after-init test fix (crash moved from handle() to serve() entry point so transport sees immediate subprocess death).
30 lines
954 B
YAML
30 lines
954 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
|