jinnatar/Aptly deb repo creator

Create APT compatible debian repositories into GitHub artifacts with Aptly.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 19, 2024
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: jinnatar/actions-aptly-repo@e88155fae696e037dc0d3fa3325d30fd7270e620 # v2.0.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
name"Short name of the project used as a slug to refer to your repo." yes
artifact_name"Name of the generated repo snapshot artifact. The default is {name}-{prefix}-repo-artifacts" no
prefixRepo prefix in the published structure. Relevant if you wish to separate say ubuntu & debian completely. yes.
repo_urlPublic facing URL where your repository snapshot will be published. Cleanest if you don't include a final / in the URL, one will be added where required. no
generate_repo_listIf enabled and repo_url is also provided, a "$name.list" template will be created at the root of your repository snapshot with example lines per distribution & category. notrue
reposRepository definitions to create. Provided as a comma separated csv. The architecture list should be quoted and comma separated. The quotes must be escaped. Fields are in order: distribution, category, architectures, import boolean, filesystem glob of debs. The default thus creates a single distribution of: "bookworm", category "stable" for amd64 of all debs in the current directory with no import. yesbookworm,stable,false,\"amd64\",./*.deb
gpg_key_idID of the GPG public key to use for signing. Useful for definining a signing specific subkey. Defaults to whatever GnuPG defaults to. no""
gpg_private_keyArmored gpg private key to sign the repo with. If not provided, the repo will not be signed. no
gpg_passphraseThe passphrase of the provided GPG key. no
gpg_export_nameIf signing is used the public key will be exported to the root of the snapshot with this name. List examples will also refer to this name. If customized, the suffix of the file should be either `.asc` or `.gpg`. - `.asc` causes the export to be ASCII armored. - `.gpg` does not use ASCII armoring, i.e. the key is exported "raw". The default is to export as `$name.asc` yes""
import_gpg_keyAn additional GPG public key to import and trust. Only useful if the repo definitions enable the import feature and the mirror you're importing is not signed by the same private key. no
GITHUB_TOKENA GitHub token, available in the secrets.GITHUB_TOKEN working-directory variable. ${{ github.token }}

no outputs