jinnatar/Aptly deb repo creator
Create APT compatible debian repositories into GitHub artifacts with Aptly.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Oct 19, 2024
- License
- None
Pinned Snippet
uses: jinnatar/actions-aptly-repo@e88155fae696e037dc0d3fa3325d30fd7270e620 # v2.0.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| 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 | — |
| prefix | Repo prefix in the published structure. Relevant if you wish to separate say ubuntu & debian completely. | yes | . |
| repo_url | Public 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_list | If 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. | no | true |
| repos | Repository 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. | yes | bookworm,stable,false,\"amd64\",./*.deb |
| gpg_key_id | ID 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_key | Armored gpg private key to sign the repo with. If not provided, the repo will not be signed. | no | — |
| gpg_passphrase | The passphrase of the provided GPG key. | no | — |
| gpg_export_name | If 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_key | An 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_TOKEN | A GitHub token, available in the secrets.GITHUB_TOKEN working-directory variable. | — | ${{ github.token }} |
Outputs
no outputs