Update 8 files
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "${SCRIPT_DIR}/_volumes.sh"
|
||||
_check_required_env_vars "CONTAINER_NAME" "IMAGE_REGISTRY" "IMAGE_REPO" "IMAGE_TAG" "DATA_VOLUME"
|
||||
_check_required_env_vars "CONTAINER_NAME" "IMAGE_REGISTRY" "IMAGE_REPO" "IMAGE_TAG" "DATA_PATH"
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
create_items $(get_gitea_volumes) || _die "Failed to create volume $DATA_VOLUME"
|
||||
create_items $(get_gitea_volumes) || _die "Failed to create data directory $DATA_PATH"
|
||||
|
||||
_check_docker_installed || _die "Docker test failed, aborting installation..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user