Fix deployment stage: use alpine image and install docker-compose
- Change from non-existent docker/compose image to alpine - Install docker-compose package in before_script - Fix deployment stage image pull error 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
04b689fc95
commit
0904060f0c
@ -23,9 +23,10 @@ build_image:
|
||||
|
||||
deploy_service:
|
||||
stage: deploy
|
||||
image: 192.168.1.154:31010/docker/compose:latest
|
||||
image: 192.168.1.154:31010/docker/alpine:latest
|
||||
before_script:
|
||||
- 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user