refactor: restructure Docker build pipeline to depend on binary builds

- Change docker.yml to use workflow_call triggered by build.yml
- Remove redundant force_build parameter from build.yml
- Simplify build_docker parameter (build implies push in CI/CD)
- Add proper dependency chain: build.yml -> docker.yml -> registry
- Update documentation to reflect new architecture
- Mark Dockerfile.source as local development only
This commit is contained in:
overtrue
2025-07-17 04:19:20 +08:00
parent 3be5ee6445
commit af693f7b3f
4 changed files with 145 additions and 171 deletions

View File

@@ -248,6 +248,8 @@ done
# Main execution
main() {
print_message $BLUE "🐳 RustFS Docker Buildx Build Script"
print_message $YELLOW "📋 Build Strategy: Uses pre-built binaries from dl.rustfs.com"
print_message $YELLOW "🚀 Production images only - optimized for distribution"
echo ""
# Check prerequisites