Skip to content

Commit

Permalink
Fix apache#1333: store registry images on the host apache#2
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Mar 19, 2020
1 parent ad0d7f9 commit 383f7a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF | kind create cluster --config=-
Expand Down

0 comments on commit 383f7a8

Please sign in to comment.