Skip to content

Commit

Permalink
Merge pull request #4 from johnpoth/act
Browse files Browse the repository at this point in the history
fix #3: remove insecure registry step
  • Loading branch information
nicolaferraro authored Sep 16, 2021
2 parents 64b6dd6 + c044bbd commit e8b36d4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e8b36d4

Please sign in to comment.