{"id":47498289,"url":"https://github.com/sillsdev/gha-ubuntu-packaging","last_synced_at":"2026-03-27T04:08:51.594Z","repository":{"id":64797767,"uuid":"576327054","full_name":"sillsdev/gha-ubuntu-packaging","owner":"sillsdev","description":"A GitHub action to build Ubuntu packages.","archived":false,"fork":false,"pushed_at":"2025-10-17T09:56:41.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T13:54:39.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sillsdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-09T15:07:04.000Z","updated_at":"2025-10-17T09:56:45.000Z","dependencies_parsed_at":"2025-05-16T15:25:53.217Z","dependency_job_id":"4d5ac028-ec24-4d95-8e96-c63f59dd3a1a","html_url":"https://github.com/sillsdev/gha-ubuntu-packaging","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"5b56c86ee78598308d864edc55a1d06b4ba36f92"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/sillsdev/gha-ubuntu-packaging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2Fgha-ubuntu-packaging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2Fgha-ubuntu-packaging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2Fgha-ubuntu-packaging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2Fgha-ubuntu-packaging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sillsdev","download_url":"https://codeload.github.com/sillsdev/gha-ubuntu-packaging/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sillsdev%2Fgha-ubuntu-packaging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31018555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-27T04:08:50.956Z","updated_at":"2026-03-27T04:08:51.587Z","avatar_url":"https://github.com/sillsdev.png","language":"Shell","readme":"# Debian packaging\n\nA GitHub action to build Ubuntu packages.\n\n## Documentation\n\n### Inputs\n\n#### `flavor`\n\nThe name of the distribution, i.e. Ubuntu or Debian. Defaults to `ubuntu`.\n\n#### `dist`\n\n**Required** The name of a Ubuntu version, either code name (e.g. `jammy`)\nor release (e.g. `22.04`). Default: `latest`.\n\n#### `sourcepackage`\n\n**Required** The name (and relative path) of the .dsc file.\n\n#### `platform`\n\nThe platform to build on. One of `amd64` or `386` (or one of the other\nOS/ARCH combinations from \u003chttps://hub.docker.com/_/ubuntu\u003e without\nleading `linux/`). Defaults to `amd64`.\n\n#### `source_dir`\n\nThe path to the directory that contains the .dsc file, relative to\n`$GITHUB_WORKSPACE`. Defaults to `.`.\n\n#### `result_dir`\n\nThe path to the directory where the built .deb files get copied to, relative\nto `$GITHUB_WORKSPACE`. Defaults to `artifacts`.\n\n#### `enable_llso`\n\n`true` to enable the llso package repo (\u003chttp://linux.lsdev.sil.org\u003e),\notherwise `false`. Defaults to `true`.\n\n#### `enable_pso`\n\n`true` to enable the pso package repo (\u003chttp://packages.sil.org\u003e),\notherwise `false`. Defaults to `true`.\n\n#### `deb_fullname`\n\nThe full name used for the changelog entry. Defaults to `SIL GHA Packager`.\n\n#### `deb_email`\n\nThe email address used for the changelog entry. Defaults to `undelivered@sil.org`.\n\n#### `prerelease_tag`\n\nA pre-release tag to add to the version number. This tag can include the\n`GITHUB_RUN_NUMBER` and `GITHUB_RUN_ATTEMPT`, e.g. `~PR-1234-1.1`.\n\n### Example usage\n\n```yaml\n...\nsteps:\n  - uses: sillsdev/gha-ubuntu-packaging@v1\n    with:\n      dist: 'jammy'\n      sourcepackage: ${{sourcepackage}}\n...\n```\n\nSee [PACKAGING.md](PACKAGING.md) for a detailed example.\n\n## Manual package builds in a Docker container\n\nThe files in this directory also allow to manually build a package in\na docker container.\n\nThis can either be done by building a docker image and then running\nthe `build-package.sh` script inside the docker container, or by using\n`local-build.sh` which combines these two steps.\n\n### Using `local-build.sh`\n\n`local-build.sh` takes two mandatory parameters: the Ubuntu version, and\nthe path and name of the .dsc file to build.\n\n```bash\n./local-build.sh jammy ~/ibus/packages/ibus_1.5.26-4sil1.1~jammy.dsc\n```\n\n### Building Docker image and running `build-package.sh`\n\n#### 1. Build image\n\n```bash\ndocker build --build-arg DIST=jammy --build-arg PLATFORM=amd64 -t sillsdev/jammy .\n```\n\n`jammy` and `amd64` are the Ubuntu version and platform for which to build the\npackage.\n\n#### 2. Build binary package\n\nChange into the directory which contains the source package, then run:\n\n```bash\ndocker run -v $(pwd):/source -i -t -w /source --platform=linux/amd64 \\\n    sillsdev/jammy jammy ibus_1.5.26-4sil1.1~jammy.dsc .\n```\n\n`ibus_1.5.26-4sil1.1~jammy.dsc` is the name of the source package. The\nresulting .deb files will be in `$(pwd)/artifacts`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsillsdev%2Fgha-ubuntu-packaging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsillsdev%2Fgha-ubuntu-packaging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsillsdev%2Fgha-ubuntu-packaging/lists"}