From 8bba78a41331ac85be50880b3b016280d1923e05 Mon Sep 17 00:00:00 2001 From: seagochen Date: Wed, 25 Feb 2026 09:30:34 +0900 Subject: [PATCH] fix: restore Makefile usage in build.yml and Dockerfile Update CI and Docker build to use `make` instead of removed scripts/. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/build.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68f6e6a27..9b89b69ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,4 +17,4 @@ jobs: go-version-file: go.mod - name: Build - run: scripts/build.sh --all + run: make build-all diff --git a/Dockerfile b/Dockerfile index 0ab709ae6..480244127 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # ============================================================ FROM golang:1.25-alpine AS builder -RUN apk add --no-cache git bash +RUN apk add --no-cache git make WORKDIR /src @@ -13,7 +13,7 @@ RUN go mod download # Copy source and build COPY . . -RUN scripts/build.sh +RUN make build # ============================================================ # Stage 2: Minimal runtime image