GitLab CI với Shell Executor
Vấn đề
GitLab CI Docker executor cần Docker-in-Docker, phức tạp và hay lỗi.
Shell executor
job:
tags:
- shell
script:
- docker build -t app .
- docker push registry.example.com/app
Lưu ý
image:keyword bị ignore với shell executor- Dùng
docker runtrực tiếp trong script - Runner cần cài sẵn docker, node, go, v.v.