From f02dedcf7b9e4e96dcc9d3d273228eb4c8d64dc0 Mon Sep 17 00:00:00 2001 From: Lee Chapman Date: Sun, 11 Jan 2026 12:17:55 -0800 Subject: [PATCH] fix: use python image instead of golang for build stage high-command-mcp is a Python project, but the CI was using a golang image. Error: pip: command not found - The golang:1.23-alpine image doesn't have Python/pip. Changes: - Changed build image from golang:1.23-alpine to python:3.14-slim - Changed package manager from apk to apt-get - Added build-essential package for Python builds - Updated artifacts path from bin/ to dist/ (Python builds produce dist/, not bin/) --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f890b82..2073c59 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,13 +7,14 @@ variables: build: stage: build - image: harbor.dataknife.net/dockerhub/library/golang:1.23-alpine + image: harbor.dataknife.net/dockerhub/library/python:3.14-slim script: - - apk add --no-cache make git bash + - apt-get update && apt-get install -y --no-install-recommends make git build-essential + - pip install --upgrade pip build - make build artifacts: paths: - - bin/ + - dist/ expire_in: 1 hour rules: - if: '$CI_COMMIT_BRANCH == "main"'