Artifacts là các output của quá trình build (binaries đã compile, packages, Docker images) được deploy. Artifact management — lưu trữ, đánh phiên bản, và đẩy các artifact này qua một registry/repository — là quan trọng cho các deployment đáng tin cậy, có thể truy vết.
Artifacts là gì
BUILD tạo ra ARTIFACTS — các output deploy được:
→ Docker IMAGES, binaries đã compile, JARs/WARs, npm packages, zip bundles, v.v.
→ Đây là những gì thực sự được DEPLOY (không phải mã nguồn trực tiếp).
Artifact repositories/registries
Artifacts được lưu trong REPOSITORIES/REGISTRIES (lưu trữ trung tâm, được đánh phiên bản):
→ Container registries: Docker Hub, AWS ECR, GitHub/GitLab Container Registry
→ Package repositories: npm registry, Maven, PyPI, Artifactory, Nexus
→ Pipeline BUILD một artifact, PUSH nó lên registry, và DEPLOY từ đó.
