Skip to content

Commit 938cb32

Browse files
committed
GHA vs local
1 parent 0f45307 commit 938cb32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ if ! [ -x "$(command -v jq)" ]; then
2626
sudo apt -y install jq
2727
fi
2828

29-
message " Check if we're in Github Actions "
29+
message " Check if we're in Github Actions or local run "
3030
if [ -n "${GITHUB_ACTIONS:-}" ]; then
31+
echo " Github Actions. Image should already be built."
3132
docker images
3233
if [ -z "$(docker images -q mendhak/http-https-echo:testing 2> /dev/null)" ]; then
3334
echo "Docker image mendhak/http-https-echo:testing not found. Exiting."
3435
exit 1
3536
fi
3637
else
37-
message " Local run. Build image "
38+
echo " Local run. Build image "
3839
docker build -t mendhak/http-https-echo:testing .
3940
fi
4041

0 commit comments

Comments
 (0)