Compare commits

...

2 Commits

Author SHA1 Message Date
e4d4df16ad Fix: Switch to Local Build strategy (bypass registry upload)
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 8s
2026-02-01 21:55:52 +01:00
5bf5701e0d Fix: Use catthehacker image for runner to include Docker CLI 2026-01-28 23:36:51 +01:00
6 changed files with 197 additions and 189 deletions

View File

@@ -23,5 +23,12 @@ jobs:
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: .
push: true push: false
load: true
tags: gitea.lemarechal.eu/aydent/clawdbot:latest tags: gitea.lemarechal.eu/aydent/clawdbot:latest
- name: Restart Service
run: |
# The image is now in the local docker daemon (Host) thanks to the shared socket
docker compose up -d --force-recreate clawdbot
docker image prune -f

View File

@@ -13,7 +13,8 @@ services:
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN} - GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN}
- GITEA_RUNNER_NAME=internal-runner - GITEA_RUNNER_NAME=internal-runner
# Default labels # Default labels
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:22-bookworm,ubuntu-22.04:docker://node:16-bullseye # Use an image that contains Docker CLI, Git, and Node.js
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://catthehacker/ubuntu:act-latest
volumes: volumes:
# Persist configuration and data # Persist configuration and data
- ./data:/data - ./data:/data