Fix deployment stage: add docker-cli installation

- Install docker-cli before docker-compose in deployment stage
- Fix 'docker: not found' error in deploy_service job
- Ensure both docker and docker-compose are available

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root 2025-12-19 10:58:55 +08:00
parent 0904060f0c
commit c565eb25af

View File

@ -25,8 +25,8 @@ deploy_service:
stage: deploy
image: 192.168.1.154:31010/docker/alpine:latest
before_script:
- apk add --no-cache docker-cli docker-compose
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
- apk add --no-cache docker-compose
script:
- docker-compose pull
- docker-compose down --remove-orphans || true