From a80c0911c629852d72bbff48b22af3b178b191b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bene=C5=A1?= Date: Tue, 7 May 2024 15:41:34 +0200 Subject: [PATCH] fix: aztec-run not exposing port for builder (#6241) --- aztec-up/bin/.aztec-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aztec-up/bin/.aztec-run b/aztec-up/bin/.aztec-run index cb72171601e..77cfbcf3c25 100755 --- a/aztec-up/bin/.aztec-run +++ b/aztec-up/bin/.aztec-run @@ -98,9 +98,9 @@ while [[ "$#" -gt 0 ]]; do esac done -# Dynamic port assignment based on IMAGE containing '/aztec' +# Dynamic port assignment based on IMAGE containing '/aztec' and not containing 'builder' (to exclude aztec-builder) port_assignment="" -if [[ "$IMAGE" == *"/aztec"* ]]; then +if [[ "$IMAGE" == *"/aztec"* ]] && [[ "$IMAGE" != *"builder"* ]]; then port_assignment="-p $AZTEC_PORT:$AZTEC_PORT" fi