工件是构建过程的输出(编译的二进制文件、包、Docker镜像),它们会被部署。工件管理——在注册表/仓库中存储、版本控制和推进这些工件——对于可靠、可追踪的部署很重要。
什么是工件
text
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).
工件仓库/注册表
text
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.
