Artefak adalah output dari proses build (binary yang dikompilasi, paket, Docker images) yang di-deploy. Manajemen artefak — menyimpan, memversi, dan mempromosikan artefak ini melalui registry/repository — penting untuk deployment yang dapat diandalkan dan dapat dilacak.
Apa itu artefak
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 artefak
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.
