Files
deploy/test/fixture/testrepos/start-authenticated-helm-registry.sh
e72a777cef feat: oci support (Beta) (#18646)
Signed-off-by: Blake Pettersson <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2025-06-06 13:27:02 +02:00

5 lines
289 B
Bash
Executable File

#!/usr/bin/env bash
export HELM_EXPERIMENTAL_OCI=1
docker run -p 5001:5000 --rm --name authed-registry -v $(pwd)/test/fixture/testrepos/.oci-htpasswd:/etc/docker/registry/auth.htpasswd \
-e REGISTRY_AUTH="{htpasswd: {realm: localhost, path: /etc/docker/registry/auth.htpasswd}}" \
registry