Switch CI/CD jobs to use Alpine image and install Docker tools manually
This commit is contained in:
parent
13fabbd5fc
commit
16dc7313d7
@ -15,10 +15,11 @@ before_script:
|
||||
# 构建镜像
|
||||
build_image:
|
||||
stage: build
|
||||
image: 192.168.1.154:31010/docker:latest
|
||||
image: 192.168.1.154:31010/alpine:latest
|
||||
services:
|
||||
- 192.168.1.154:31010/docker:dind
|
||||
script:
|
||||
- apk add --no-cache docker-cli
|
||||
- docker build -t $DOCKER_IMAGE_NAME:$DOCKER_TAG .
|
||||
only:
|
||||
- main
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user