{"id":22787417,"url":"https://github.com/aserto-dev/aserto-push-action","last_synced_at":"2026-03-19T23:41:27.130Z","repository":{"id":104848359,"uuid":"381833908","full_name":"aserto-dev/aserto-push-action","owner":"aserto-dev","description":"Aserto Push - GitHub action to publish policies to the Policy Registry","archived":false,"fork":false,"pushed_at":"2021-06-30T22:00:04.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T16:16:53.450Z","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-06-30T21:12:20.000Z","updated_at":"2021-06-30T21:37:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"eca9a5ba-8143-49f9-84c8-98317aa986ba","html_url":"https://github.com/aserto-dev/aserto-push-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/aserto-dev/aserto-push-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-push-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-push-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-push-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-push-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aserto-dev","download_url":"https://codeload.github.com/aserto-dev/aserto-push-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Faserto-push-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270016650,"owners_count":24512963,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-12-12T00:57:06.507Z","updated_at":"2025-10-04T18:23:54.902Z","avatar_url":"https://github.com/aserto-dev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# aserto-push-action\n\n## Aserto Push \n\nGitHub action to publish policies to the Policy Registry\n\n## Inputs\n\n### `bundle`\n\n**Required** The file path to the policy bundle file. \n\nDefault `build/bundle.tar.gz`\n\n### `release_id`\n\n**Required** The The GitHub release ID. \n\nNo default value\n\n### `policy_registry`\n\n**Required** The policy registry service endpoint. \n\nDefault `https://bundler.prod.aserto.com/v1`\n\n### `push_key`\n\nThe composite key containing the registry API key, tenant and policy IDs, needed to publish the policy bundle to the policy registry.\n\n**Required** Unless all three individual overrride values are provided!\n\nNo default value\n\n### `tenant_id`\n\nAserto tenant ID.\n\nNo default value\n\n### `policy_id`\n\nAserto policy ID.\n\nNo default value\n\n### `policy_registry_key`\n\nAPI key for authenticating with the policy registry.\n\nNo default value\n\n### `verbose`\n\nVerbose logging of execution of action [true | false]. \n\nDefault `false`\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\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faserto-dev%2Faserto-push-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faserto-dev%2Faserto-push-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faserto-dev%2Faserto-push-action/lists"}