diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ba7750f..c2bdc4b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -133,6 +133,12 @@ jobs: # Delete artifacts folder rm -rf ./artifacts + # Create the Release file + apt-ftparchive release debian/dists/stable > debian/dists/stable/Release + + # Sign the Release file + gpg --armor --detach-sign --output debian/dists/stable/Release.gpg debian/dists/stable/Release + - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: diff --git a/README.md b/README.md index 0eaa2039..283fa1d8 100644 --- a/README.md +++ b/README.md @@ -11,5 +11,6 @@ The following packages are supported Simply add this repo to your sources by running the following command ```bash -echo "deb [trusted=yes] https://linux.sia.tech/debian stable main" | sudo tee -a /etc/apt/sources.list.d/siafoundation.list +sudo curl -fsSL https://linux.sia.tech/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/siafoundation.gpg +echo "deb [signed-by=/usr/share/keyrings/siafoundation.gpg] https://linux.sia.tech/debian stable main" | sudo tee -a /etc/apt/sources.list.d/siafoundation.list ``` diff --git a/debian/gpg b/debian/gpg index d4a133d4..9055821d 100644 Binary files a/debian/gpg and b/debian/gpg differ