Update 3 files
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 4s
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 4s
This commit is contained in:
@@ -10,7 +10,7 @@ SSH_USER="root"
|
||||
REGISTRY_PORT=5000
|
||||
|
||||
# Data path - stores all registry data (images, blobs, etc.)
|
||||
# Override this to store data in a custom location
|
||||
DATA_PATH="${SERVICE_PATH}/data"
|
||||
# Set this to the absolute path where registry data should be stored
|
||||
DATA_PATH="/home/dropshell/docker-registry"
|
||||
|
||||
TEMPLATE=docker-registry
|
||||
|
||||
@@ -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" "CONFIG_PATH"
|
||||
_check_required_env_vars "CONTAINER_NAME" "IMAGE_REGISTRY" "IMAGE_REPO" "IMAGE_TAG" "DATA_PATH" "CONFIG_PATH"
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
create_items $(get_registry_volumes) || _die "Failed to create volume ${DATA_VOLUME}"
|
||||
create_items $(get_registry_volumes) || _die "Failed to create data path ${DATA_PATH}"
|
||||
|
||||
_check_docker_installed || _die "Docker test failed, aborting installation..."
|
||||
|
||||
|
||||
@@ -12,5 +12,4 @@ REQUIRES_DOCKER_ROOT=false
|
||||
IMAGE_REGISTRY="docker.io"
|
||||
IMAGE_REPO="library/registry"
|
||||
|
||||
# Path settings - stores all registry data (images, blobs, etc.)
|
||||
DATA_PATH="${SERVICE_PATH}/data"
|
||||
# DATA_PATH must be set in service.env - stores all registry data (images, blobs, etc.)
|
||||
|
||||
Reference in New Issue
Block a user