diff --git a/justfile b/justfile index 601941c1..e4cd73df 100644 --- a/justfile +++ b/justfile @@ -8,7 +8,8 @@ _docker_push tag: docker push {{tag}} _docker_build dockerfile tag force="0": - #!/usr/bin/env sh + #!/usr/bin/env bash + set -euo pipefail if [ "{{force}}" = "0" ]; then docker images --format '{''{.Repository}}' | grep '^{{tag}}$' if [ $? -eq 0 ]; then