From 19b92f66958faf8fa1f8fb43213e82e3e118912c Mon Sep 17 00:00:00 2001 From: Nicola Ferraro Date: Thu, 19 Mar 2020 10:00:49 +0100 Subject: [PATCH] Fix #1333: store registry images on the host #2 --- .github/workflows/kubernetes.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kubernetes.yml b/.github/workflows/kubernetes.yml index 4fc7c86fdc..caf1aae56b 100644 --- a/.github/workflows/kubernetes.yml +++ b/.github/workflows/kubernetes.yml @@ -60,7 +60,8 @@ jobs: REGISTRY_CONTAINER_NAME='kind-registry' REGISTRY_PORT='5000' REGISTRY_VOLUME=/mnt/registry-data - mkdir $REGISTRY_VOLUME + sudo mkdir $REGISTRY_VOLUME + sudo chmod a+rw $REGISTRY_VOLUME docker run -d -p "${REGISTRY_PORT}:5000" --restart=always -v $REGISTRY_VOLUME:/var/lib/registry --name "${REGISTRY_CONTAINER_NAME}" registry:2 REGISTRY_IP=$(docker inspect --format '{{.NetworkSettings.IPAddress }}' "${REGISTRY_CONTAINER_NAME}") cat <