Fix Go version and agent workflow
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 ./
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user