Skip to content

Commit 9a01141

Browse files
committed
e2e format test 4
Signed-off-by: Pat O'Connor <[email protected]>
1 parent 90e9e83 commit 9a01141

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/e2e_tests.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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
uses: helm/[email protected]

0 commit comments

Comments
 (0)