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