Skip to content

Commit 2e981b2

Browse files
committed
Fix build() ignoring bake_args and clarify only_arch log message
1 parent 95ce74f commit 2e981b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build_pgedge_images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def build(
255255
bake_args.extend(("--set", f"default.platforms=linux/{only_arch}"))
256256

257257
subprocess.check_output(
258-
bake_cmd("--push"),
258+
bake_cmd(*bake_args),
259259
env={
260260
**os.environ.copy(),
261261
"PACKAGE_RELEASE_CHANNEL": image.package_release_channel,
@@ -309,7 +309,7 @@ def _log_config(config: "Config") -> None:
309309
if config.only_spock_version:
310310
logging.info(f"only spock {config.only_spock_version} enabled. other images will be skipped.")
311311
if config.only_arch:
312-
logging.info(f"only arch {config.only_arch} enabled. other images will be skipped.")
312+
logging.info(f"only arch {config.only_arch} enabled. builds will target linux/{config.only_arch} only.")
313313

314314

315315
def _should_skip_image(image: "PgEdgeImage", config: "Config") -> bool:

0 commit comments

Comments
 (0)