Fix Go version and agent workflow

This commit is contained in:
Fimeg
2025-10-29 12:43:18 -04:00
parent 740d75f3cf
commit c027a1da6c
3 changed files with 6 additions and 1 deletions

View File

@@ -84,6 +84,9 @@ A self-hosted, cross-platform update management platform built for homelabs and
git clone https://github.com/Fimeg/RedFlag.git
cd RedFlag
# Build agent (one-time)
cd aggregator-agent && go mod tidy && go build -o redflag-agent cmd/agent/main.go && cd ..
# Start database and server
docker-compose up -d

View File

@@ -1,4 +1,4 @@
FROM golang:1.21-alpine AS builder
FROM golang:1.23-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./

View File

@@ -24,6 +24,8 @@ services:
context: ./aggregator-server
dockerfile: Dockerfile
container_name: redflag-server
volumes:
- ./aggregator-agent/redflag-agent:/app/redflag-agent:ro
depends_on:
postgres:
condition: service_healthy