{"id":16813166,"url":"https://github.com/ivanvc/abuild-releaser-action","last_synced_at":"2025-07-15T17:33:08.631Z","repository":{"id":179353203,"uuid":"663333448","full_name":"ivanvc/abuild-releaser-action","owner":"ivanvc","description":"GitHub Action that builds and releases Alpine Linux packages to GitHub pages","archived":false,"fork":false,"pushed_at":"2024-05-23T17:41:52.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-14T10:24:43.430Z","etag":null,"topics":["actions","alpine-linux","apk","aports"],"latest_commit_sha":null,"homepage":"","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/ivanvc.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}},"created_at":"2023-07-07T04:25:37.000Z","updated_at":"2024-05-23T17:41:05.000Z","dependencies_parsed_at":"2024-03-15T04:36:36.468Z","dependency_job_id":"6dcd6ed4-44c6-4757-9808-43bd4f3c2439","html_url":"https://github.com/ivanvc/abuild-releaser-action","commit_stats":null,"previous_names":["ivanvc/abuild-releaser-action"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fabuild-releaser-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fabuild-releaser-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fabuild-releaser-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivanvc%2Fabuild-releaser-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivanvc","download_url":"https://codeload.github.com/ivanvc/abuild-releaser-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226059400,"owners_count":17567257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["actions","alpine-linux","apk","aports"],"created_at":"2024-10-13T10:25:03.948Z","updated_at":"2024-11-23T15:24:06.443Z","avatar_url":"https://github.com/ivanvc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# abuild releaser action\n\n[![Lint](https://github.com/ivanvc/abuild-releaser-action/actions/workflows/lint.yml/badge.svg)](https://github.com/ivanvc/abuild-releaser-action/actions/workflows/lint.yml)\n\nGitHub action to build and release to GitHub pages Alpine Linux aport packages\ncontained in a repository.\n\n## Pre-requisites\n\nFirst, follow the [Alpine Linux guide on Creating an Alpine\nPackage][alpine-guide]. Make sure to generate a RSA key by using `abuild-keygen\n-a -i`. Save the public and private keys, and set them as the repository\nsecrets: `RSA_PUBLIC_KEY` and `RSA_PRIVATE_KEY`. This key will be used to sign\nthe packages, and the build process will place the public key in the `gh-pages`\nbranch.\n\n**NOTE:** This action will find all of the `APKBUILD` files in the repository\nif `packages_dir` is not specified, and will build **all of these packages**.\nTherefore, you **should only have APKBUILD files from the packages you want to\npublish**, or provide the `packages_dir` option.\n\n## Usage\n\n```yaml\n- uses: ivanvc/abuild-releaser-action@main\nwith:\n  # The following fields are required.\n  # The author to use for the released apk packages.\n  author: ''\n\n  # The RSA public key used to sign the packages, set it as a secret.\n  rsa_public_key: ''\n\n  # The RSA private key used to sign the packages, set it as a secret.\n  rsa_private_key: ''\n\n  # The rest of the fields are optional.\n  # The commit message when updating the gh-pages branch.\n  commit_message: ''\n\n  # Generate multiple index pages, one per directory.\n  # Default: false\n  generate_index_pages: ''\n\n  # Generate a single index page.\n  # Default: true\n  generate_single_index_page: ''\n\n  # Override the index page template with a file that exists in the gh-pages\n  # branch. If the file doesn't exist, or it's not provided, it will use the\n  # default index.html.tpl.\n  index_page_template: ''\n\n  # Release only the packages from the provided directories, release all of them\n  # if this is not provided.\n  packages_dir: ''\n\n  # Alpine branch (release): vMAJOR.MINOR, latest-stable or edge.\n  # Default: edge\n  alpine_branch: ''\n```\n\nRefer to [`action.yml`](action.yml) for the complete documentation.\n\n### Example usage\n\nRelease all packages in the repository:\n\n```yaml\nname: Release\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: write\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ivanvc/abuild-releaser-action@v1.1.0\n        with:\n          author: John Doe \u003cjohn@example.com\u003e\n          rsa_public_key: ${{ secrets.RSA_PUBLIC_KEY }}\n          rsa_private_key: ${{ secrets.RSA_PRIVATE_KEY }}\n```\n\nRelease only the packages inside the `testing` directory, and\n`community/docker`:\n\n```yaml\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ivanvc/abuild-releaser-action@v1.0.0\n        with:\n          author: John Doe \u003cjohn@example.com\u003e\n          rsa_public_key: ${{ secrets.RSA_PUBLIC_KEY }}\n          rsa_private_key: ${{ secrets.RSA_PRIVATE_KEY }}\n          package_dirs: \"testing/*,community/docker\"\n```\n\n## License\n\nSee [LICENSE](LICENSE) © [Ivan Valdes](https://github.com/ivanvc/)\n\n[alpine-guide]: https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanvc%2Fabuild-releaser-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivanvc%2Fabuild-releaser-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivanvc%2Fabuild-releaser-action/lists"}