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