Update 3 files
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 4s

This commit is contained in:
j
2026-01-14 12:27:42 +13:00
parent bded5acbfd
commit c283ee0756
3 changed files with 5 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ SSH_USER="root"
REGISTRY_PORT=5000 REGISTRY_PORT=5000
# Data path - stores all registry data (images, blobs, etc.) # Data path - stores all registry data (images, blobs, etc.)
# Override this to store data in a custom location # Set this to the absolute path where registry data should be stored
DATA_PATH="${SERVICE_PATH}/data" DATA_PATH="/home/dropshell/docker-registry"
TEMPLATE=docker-registry TEMPLATE=docker-registry

View File

@@ -3,10 +3,10 @@
source "${AGENT_PATH}/common.sh" source "${AGENT_PATH}/common.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${SCRIPT_DIR}/_volumes.sh" 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 # 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..." _check_docker_installed || _die "Docker test failed, aborting installation..."

View File

@@ -12,5 +12,4 @@ REQUIRES_DOCKER_ROOT=false
IMAGE_REGISTRY="docker.io" IMAGE_REGISTRY="docker.io"
IMAGE_REPO="library/registry" IMAGE_REPO="library/registry"
# Path settings - stores all registry data (images, blobs, etc.) # DATA_PATH must be set in service.env - stores all registry data (images, blobs, etc.)
DATA_PATH="${SERVICE_PATH}/data"