From c044bbdb71685ab28d3fa495ce64274a31f8b015 Mon Sep 17 00:00:00 2001 From: John Poth Date: Wed, 15 Sep 2021 18:12:23 +0200 Subject: [PATCH] fix #3: remove insecure registry step --- registry.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/registry.sh b/registry.sh index b9d2ea9..6c4613c 100755 --- a/registry.sh +++ b/registry.sh @@ -128,13 +128,6 @@ create_registry() { # Adding registry to /etc/hosts echo "127.0.0.1 $registry_name" | sudo tee --append /etc/hosts - # Setting registry as insecure - patch=".\"insecure-registries\" = [\"${registry_name}:${registry_port}\""] - sudo jq "$patch" /etc/docker/daemon.json > /tmp/daemon.json.tmp && sudo mv /tmp/daemon.json.tmp /etc/docker/daemon.json - - # Restart docker daemon - sudo service docker restart - # Exporting the registry location for subsequent jobs echo "KIND_REGISTRY=${registry_name}:${registry_port}" >> $GITHUB_ENV }