Artifact ialah output proses build (compiled binaries, packages, Docker images) yang di-deploy. Pengurusan artifact — menyimpan, mengversi, dan mempromosikan artifact ini melalui registry/repository — adalah penting untuk deployment yang boleh dipercayai dan boleh dijejaki.
Apa itu artifact
The BUILD produces ARTIFACTS — the deployable outputs:
→ Docker IMAGES, compiled binaries, JARs/WARs, npm packages, zip bundles, etc.
→ These are what actually get DEPLOYED (not the source code directly).
Repository/registry artifact
Artifacts are stored in REPOSITORIES/REGISTRIES (versioned, central storage):
→ Container registries: Docker Hub, AWS ECR, GitHub/GitLab Container Registry
→ Package repositories: npm registry, Maven, PyPI, Artifactory, Nexus
→ The pipeline BUILDS an artifact, PUSHES it to the registry, and DEPLOYS from there.
