From 3d578e815a49c60e71d253cdfc06705e0fc9b10e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 16 Mar 2023 10:13:55 +0000 Subject: [PATCH] Fix reprepro test ipv4 vs ipv6 (#581) --- .github/workflows/reprepro.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reprepro.yaml b/.github/workflows/reprepro.yaml index a929c54..3d3c6b6 100644 --- a/.github/workflows/reprepro.yaml +++ b/.github/workflows/reprepro.yaml @@ -64,10 +64,10 @@ jobs: # Download signing keyring sudo wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg # Point apt at local apt repo - echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] http://localhost:8000/debian/ default main" | sudo tee /etc/apt/sources.list.d/element-io.list + echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] http://127.0.0.1:8000/debian/ default main" | sudo tee /etc/apt/sources.list.d/element-io.list # Start http server and fetch from it via apt - python3 -m http.server 8000 & + python3 -m http.server 8000 --bind 127.0.0.1 & sudo apt-get update --allow-insecure-repositories killall python3