Skip to content

Commit 1254103

Browse files
authored
Make sure docker is running before starting release (#982)
* Make sure docker is running before starting release * Make sure docker is running before starting release
1 parent e446a2f commit 1254103

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

aws/logs_monitoring/release.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ if ! command -v gh >/dev/null 2>&1; then
8989
log_error "gh not found, please install it following instructions here https://github.com/cli/cli?tab=readme-ov-file#installation"
9090
fi
9191

92+
# Before we start the release, ensure that Docker is running
93+
if ! docker info > /dev/null 2>&1; then
94+
log_error "Docker is not running, please start it"
95+
fi
96+
9297
# Read the desired version
9398
if [[ ! ${1} =~ [0-9]+\.[0-9]+\.[0-9]+ ]]; then
9499
log_error "You must use a semantic version (e.g. 3.1.4)"

0 commit comments

Comments
 (0)