File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,10 @@ jobs:
117117
118118 echo "KIND_CONFIG_FILE=${KIND_CONFIG_FILE}" >> $GITHUB_ENV
119119
120- sudo --preserve-env=REGISTRY_ADDRESS sh -c 'cat > /etc/containers/registries.conf.d/local.conf <<EOF
121- [[registry]]
122- prefix = "$REGISTRY_ADDRESS"
123- insecure = true
124- location = "$REGISTRY_ADDRESS"
125- EOF'
120+ sudo sh -c "echo '[[registry]]' > /etc/containers/registries.conf.d/local.conf"
121+ sudo sh -c "echo 'prefix = \"${REGISTRY_ADDRESS}\"' >> /etc/containers/registries.conf.d/local.conf"
122+ sudo sh -c "echo 'insecure = true' >> /etc/containers/registries.conf.d/local.conf"
123+ sudo sh -c "echo 'location = \"${REGISTRY_ADDRESS}\"' >> /etc/containers/registries.conf.d/local.conf"
126124
127125 - name : Setup KinD cluster
128126
You can’t perform that action at this time.
0 commit comments