Files
rustnet/.github/PPA_SETUP.md
Marco Cadetg e0de0c42a7 feat: add GitHub Actions workflow for Ubuntu PPA releases
- Add automated PPA build workflow for Ubuntu 22.04 and 24.04
- Build and sign packages using CI GPG key
- Auto-upload to ppa:domcyrus/rustnet on git tags
- Add complete Debian packaging files
2025-10-13 11:51:27 +02:00

967 B

GitHub Actions PPA Setup

Add GitHub Secrets

Go to: SettingsSecrets and variablesActionsNew repository secret

1. GPG_PRIVATE_KEY

# Display your CI private key
cat ci-signing-key.asc

Copy the entire output (including -----BEGIN PGP PRIVATE KEY BLOCK----- and -----END...)

  • Name: GPG_PRIVATE_KEY
  • Value: [paste the entire key]

2. GPG_KEY_ID

# Get your key ID
gpg --list-keys cadetg@gmail.com

Copy the long hex string (e.g., ABC123...)

  • Name: GPG_KEY_ID
  • Value: [paste just the key ID]

Test the Workflow

# Create and push a test tag
git tag v0.14.0-test
git push origin v0.14.0-test

Check: Actions tab in GitHub → Release to Ubuntu PPA

Remove Test Tag (if needed)

git tag -d v0.14.0-test
git push origin :refs/tags/v0.14.0-test

Done!

From now on, just push version tags and GitHub will handle the PPA release automatically! 🚀