Tài liệu tham khảo Build and push
Field reference cho Thêm Build and push job.
Field của Build and push
| Field | Meaning |
|---|---|
| Job name | Tên Job. Mặc định là build-and-push. |
| Docker file location | Read-only. Repository lấy từ Code source của Pipeline — Dockerfile được đọc từ đây. |
| Docker file path (relative) | Đường dẫn tới Dockerfile, tính từ gốc repository, ví dụ Dockerfile hoặc docker/Dockerfile. |
| Build context directory | Thư mục dùng làm Docker build context. Mặc định là .. |
| Container registry connections | 1 connection có sẵn từ Quản lý Credentials, hoặc thêm mới. |
| Registry repository | Tên repository trong container registry đã chọn, nơi image sẽ được push tới, ví dụ team-platform/my-service. |
| Docker build argument | Cặp key/value tuỳ chọn, truyền vào docker build --build-arg. Thêm hoặc xoá dòng khi cần. |