docker-devkit 0.1.9__tar.gz → 0.1.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/PKG-INFO +1 -1
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/pyproject.toml +1 -1
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/build_docker.py +7 -2
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/.gitattributes +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/.github/workflows/ci.yml +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/.github/workflows/release.yml +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/.gitignore +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/.python-version +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/AGENTS.md +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/CLAUDE.md +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/LICENSE +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/NOTICE +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/README.md +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/publish-config.json +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/ruff.base.toml +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/ruff.toml +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/__init__.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/context_sha.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/detect_gpu.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/down.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/image_refs.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/modes.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/py.typed +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/src/docker_devkit/up.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/tests/test_context_sha.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/tests/test_default_targets.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/tests/test_image_refs.py +0 -0
- {docker_devkit-0.1.9 → docker_devkit-0.1.10}/uv.lock +0 -0
|
@@ -89,9 +89,14 @@ def run_build(
|
|
|
89
89
|
"".join(f"{key}={value}\n" for key, value in sorted(service_shas.items())), encoding="utf-8"
|
|
90
90
|
)
|
|
91
91
|
|
|
92
|
-
# Read bake, compose, and lock files
|
|
92
|
+
# Read bake, compose, and lock files. A bake-only repo (cross-builds images
|
|
93
|
+
# from a bake file, no local compose graph) has no root compose file; the
|
|
94
|
+
# only downstream consumers of compose_data are the include merge and the
|
|
95
|
+
# third-party x-image-ref scan, both empty-safe.
|
|
93
96
|
bake_data: dict[str, Any] = yaml.safe_load(bake_file.read_text(encoding="utf-8"))
|
|
94
|
-
compose_data: dict[str, Any] =
|
|
97
|
+
compose_data: dict[str, Any] = (
|
|
98
|
+
yaml.safe_load(COMPOSE_FILE.read_text(encoding="utf-8")) if COMPOSE_FILE.exists() else {}
|
|
99
|
+
)
|
|
95
100
|
for include in compose_data.pop("include", []):
|
|
96
101
|
include_path = COMPOSE_FILE.parent / (include if isinstance(include, str) else include["path"])
|
|
97
102
|
included: dict[str, Any] = yaml.safe_load(include_path.read_text(encoding="utf-8"))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|