{"id":22787401,"url":"https://github.com/aserto-dev/aserto-build-action","last_synced_at":"2026-03-19T23:40:54.056Z","repository":{"id":104848267,"uuid":"333256492","full_name":"aserto-dev/aserto-build-action","owner":"aserto-dev","description":"Aserto build action","archived":false,"fork":false,"pushed_at":"2021-06-30T21:59:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T05:03:08.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/aserto-dev.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}},"created_at":"2021-01-27T00:31:38.000Z","updated_at":"2021-06-30T21:55:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4955d7e-aa9b-42e8-87e8-906a046b1e5c","html_url":"https://github.com/aserto-dev/aserto-build-action","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-build-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-build-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-build-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-build-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aserto-dev","download_url":"https://codeload.github.com/aserto-dev/aserto-build-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246342993,"owners_count":20761947,"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":[],"created_at":"2024-12-12T00:56:14.183Z","updated_at":"2026-01-08T06:34:06.271Z","avatar_url":"https://github.com/aserto-dev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# aserto-build-action\n\n## Aserto Build \n\nGitHub action for building policy bundles\n\n\n## Inputs\n\n### `source_path`\n\n**Required** The directory path to the input source to build. \n\nDefault: `src`\n\n### `target_path`\n\n**Required** The directory path to the build output. \n\nDefault: `build`\n\n### `target_file`\n\n**Required** The build output filename. \n\nDefault: `bundle.tar.gz`\n\n### `revision`\n\nRevision tag (GitHub SHA)\n\nNo default value\n\n### `build_options`\n\nOptional build options like --debug --optimize etc. \n\nNo default value\n\n### `verbose`\n\nVerbose logging of execution of action [true | false]. \n\nDefault: `false`\n\n\n## Outputs\n\nNone defined\n\n\n## Example\n\n```\nname: build-release\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n    - '*'\n\njobs:\n  release_policy:\n    runs-on: ubuntu-latest\n    name: build\n    steps:\n    \n    - uses: actions/checkout@v2\n\n    - name: Build Policy \n      id: aserto-build\n      uses: aserto-dev/aserto-build-action@v2\n      with:\n        source_path: src\n        target_path: build\n        target_file: bundle.tar.gz\n        revision: \"$GITHUB_SHA\"\n        verbose: true\n\n    - name: Release Policy\n      id: release\n      uses: xresloader/upload-to-github-release@master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        file: \"build/bundle.tar.gz\"\n        tags: true\n        draft: false\n        verbose: true\n\n    - name: Push Policy \n      id: aserto-push\n      uses: aserto-dev/aserto-push-action@v2\n      env:\n        ASERTO_PUSH_KEY: ${{ secrets.ASERTO_PUSH_KEY }}\n      with:\n        bundle: build/bundle.tar.gz\n        release_id: ${{ steps.release.outputs.release_id }}\n        verbose: true\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faserto-dev%2Faserto-build-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faserto-dev%2Faserto-build-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faserto-dev%2Faserto-build-action/lists"}