Build a DEB repository for the specified packages.
This GitHub Action creates a DEB repository for specified packages. It supports configuration of repository metadata, architectures, components, and optional GPG signing.
- 📦 Customizable repository metadata: Define label, origin, description, architectures, and components.
- 🔐 Optional GPG signing: Sign the repository using a GPG key.
- 🚀 Streamlined workflow: Easily integrate with your CI/CD pipelines.
name: Build DEB Repository
on:
push:
branches:
- main
jobs:
build-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Build repository
uses: DevChall-by-SDCY-and-VXM/build-deb-repo@v0.0.8
with:
label: "Sample"
from_metadatas: |
https://github.com/your/package/releases/latest/download
Name | Required | Default | Description |
---|---|---|---|
label |
✅ | null |
Project name. |
origin |
❌ | null |
Project origin name or domain name. |
desc |
✅ | "" |
Repository description. |
codename |
✅ | unstable |
Project target distro codename. |
architectures |
✅ | source\namd64 |
List of architectures of packages. |
components |
✅ | main |
Repository components. |
udeb_components |
✅ | main |
Repository UDeb components. |
gpg_signing_key |
❌ | null |
The GPG key to use for signing the repository. |
maintainer |
❌ | null |
Maintainer of the packages signed with gpg_signing_key . |
from_metadatas |
✅ | null |
List of package metadata to include in the repository. |
from_deb_packages |
✅ | "" |
List of DEB packages to include in the repository. |
Name | Description |
---|---|
placeholder |
Placeholder output. |
name: Advanced DEB Repository Workflow
on:
pull_request:
types:
- opened
- synchronized
jobs:
build-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Build repository with GPG signing
uses: DevChall-by-SDCY-and-VXM/build-deb-repo@v0.0.8
with:
label: "AdvancedSample"
origin: "example.com"
desc: "This is an advanced example."
codename: "stable"
architectures: |
source
amd64
arm64
components: "main contrib"
gpg_signing_key: "<GPG_KEY>"
maintainer: "Maintainer Name <maintainer@example.com>"
from_metadatas: |
https://example.com/releases/latest/
from_deb_packages: |
https://example.com/releases/latest/package.deb
If you encounter any issues, please open an issue. For additional support, reach out via [email/contact method].