This repository has been archived on 2026-02-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
clawdbot_build/.gitea/workflows/deploy.yml
Aydent ab82044926
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 20s
Debug: Add docker network ls to inspect available networks
2026-02-01 22:17:10 +01:00

30 lines
758 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: false
load: true
tags: gitea.lemarechal.eu/aydent/clawdbot:latest
- name: Restart Service
run: |
# Debug: List networks to confirm existence
docker network ls
# 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