All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 8s
13 lines
244 B
Bash
Executable File
13 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
# shellcheck disable=SC1091
|
|
source "${AGENT_PATH}/common.sh"
|
|
|
|
_check_required_env_vars "CONTAINER_NAME"
|
|
|
|
# Check if container is running
|
|
if _is_container_running "$CONTAINER_NAME"; then
|
|
echo "Running"
|
|
else
|
|
echo "Stopped"
|
|
fi
|