From 0fb7557c27875793bba2d40126ab7c854dd87286 Mon Sep 17 00:00:00 2001 From: root <1772105645@qq.com> Date: Fri, 19 Dec 2025 09:47:04 +0800 Subject: [PATCH] Fix: Use docker/ prefix for all private registry images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated all image paths to include docker/ prefix - .gitlab-ci.yml: 192.168.1.154:31010/docker/alpine:latest - Dockerfile: Both build and run stages use docker/alpine:latest - Matches private registry structure where images are in docker/ directory 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .gitlab-ci.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e55f76..501fdc0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ variables: # 构建镜像 build_image: stage: build - image: 192.168.1.154:31010/alpine:latest + image: 192.168.1.154:31010/docker/alpine:latest script: - apk add --no-cache docker-cli - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY diff --git a/Dockerfile b/Dockerfile index 317bee3..6cc9803 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build Stage -FROM 192.168.1.154:31010/alpine:latest AS builder +FROM 192.168.1.154:31010/docker/alpine:latest AS builder WORKDIR /app @@ -19,7 +19,7 @@ COPY . . RUN go build -o server ./cmd/server # Run Stage -FROM 192.168.1.154:31010/alpine:latest +FROM 192.168.1.154:31010/docker/alpine:latest WORKDIR /app