From 1479eb8bcd67a6f29b42e11b6d74c08f0e260cc3 Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 17 Apr 2026 15:53:32 -0400 Subject: [PATCH] fix: refactor command syntax for Docker registry configuration --- nodes/heimdall/docker_registry/compose.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nodes/heimdall/docker_registry/compose.yaml b/nodes/heimdall/docker_registry/compose.yaml index 5f19a67..f11ebb2 100644 --- a/nodes/heimdall/docker_registry/compose.yaml +++ b/nodes/heimdall/docker_registry/compose.yaml @@ -12,8 +12,13 @@ services: # We pass the raw hash string here - HT_CONTENTS=${REGISTRY_AUTH_HTPASSWD_CONTENTS} # Create the file on the fly before the registry starts - command: > - sh -c "mkdir -p /auth && echo '$$HT_CONTENTS' > /auth/htpasswd && exec bin/registry serve /etc/docker/registry/config.yml" + command: + - sh + - -c + - | + mkdir -p /auth + echo "${HT_CONTENTS}" > /auth/htpasswd + exec bin/registry serve /etc/docker/registry/config.yml volumes: - /mnt/appdata/docker_registry/data:/var/lib/registry networks: