Skip to content

Commit 44ab72a

Browse files
committed
Check if we're in GHA
1 parent 1bb4d72 commit 44ab72a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎tests.sh‎

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

29+
message " Check if we're in Github Actions "
30+
if [ -n "${GITHUB_ACTIONS}" ]; then
31+
message " Running in Github Actions "
32+
fi
33+
34+
message "List the docker images"
35+
docker images
36+
2937
message " Build image "
3038
docker build -t mendhak/http-https-echo:latest .
3139

0 commit comments

Comments
 (0)