From 1aa91ff150e94ead05d9453821c67ce2f3967c28 Mon Sep 17 00:00:00 2001 From: Nicholas Moen Date: Tue, 14 May 2024 12:00:14 -0600 Subject: [PATCH] chore: add helpful statement to justfile and fix a couple typos --- justfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 6ed13d4..47beb95 100644 --- a/justfile +++ b/justfile @@ -120,13 +120,14 @@ color_reset := "\\033[39m" docker build -t "{{ image_name }}:$(uname -m)" . # build versioned image + just _echo_info "NOTE: The versioned image may fail to build the first time. Try running the same command again if it fails." just _echo_info "Building a versioned image..." docker build -t "{{ image_name }}:$(just version-project)-erlang-$(just version-otp)-$(uname -m)" . - # build 'latest' image to Docker Hub if we are on the 'x86_64' CPU architecture + # build 'latest' image if we are on the 'x86_64' CPU architecture if [ "$(uname -m)" = "{{ default_cpu_arch }}" ] && \ [ "$(just version-otp)" = "{{ newest_supported_otp }}" ]; then \ - just _echo_info "Building the 'latest' image on Docker Hub since we're using the default CPU architecture ({{ default_cpu_arch }}) architecture and our latest supported version of OTP ({{ newest_supported_otp }})..."; \ + just _echo_info "Building the 'latest' image since we're using the default CPU architecture ({{ default_cpu_arch }}) architecture and our latest supported version of OTP ({{ newest_supported_otp }})..."; \ docker build -t "{{ image_name }}:latest" .; \ fi