{"id":19292464,"url":"https://github.com/werf/trdl-vault-actions","last_synced_at":"2026-05-14T22:04:19.566Z","repository":{"id":44573205,"uuid":"392265741","full_name":"werf/trdl-vault-actions","owner":"werf","description":"Set of actions to publish releases of applications using trdl vault server","archived":false,"fork":false,"pushed_at":"2025-06-18T15:31:45.000Z","size":492,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-15T01:35:32.261Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/werf.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":"2021-08-03T09:42:36.000Z","updated_at":"2025-06-18T15:31:49.000Z","dependencies_parsed_at":"2024-12-26T17:22:10.153Z","dependency_job_id":"5c17c83c-e6fc-4d41-93fa-efa38e5a8b2c","html_url":"https://github.com/werf/trdl-vault-actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/werf/trdl-vault-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werf%2Ftrdl-vault-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werf%2Ftrdl-vault-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werf%2Ftrdl-vault-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werf%2Ftrdl-vault-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/werf","download_url":"https://codeload.github.com/werf/trdl-vault-actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werf%2Ftrdl-vault-actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33045149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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-11-09T22:31:05.332Z","updated_at":"2026-05-14T22:04:19.530Z","avatar_url":"https://github.com/werf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trdl-vault-actions\n\nSet of actions to publish releases of applications using trdl vault server:\n\n- [werf/trdl-vault-actions/release](#release);\n- [werf/trdl-vault-actions/publish](#publish).\n\n## Release\n\n```\nrelease:\n  name: Release\n  runs-on: ubuntu-22.04\n  steps:\n    - name: Release with retry\n      uses: werf/trdl-vault-actions/release@main\n      with:\n        vault-addr: ${{ secrets.TRDL_VAULT_ADDR }}\n        project-name: werf\n        git-tag: ${{ github.ref_name }}\n        vault-auth-method: approle\n        vault-role-id: ${{ secrets.TRDL_VAULT_ROLE_ID }}\n        vault-secret-id: ${{ secrets.TRDL_VAULT_SECRET_ID }}\n```\n\n## Publish\n\n```\npublish:\n  name: Publish\n  runs-on: ubuntu-22.04\n  steps:\n    - name: Publish with retry\n      uses: werf/trdl-vault-actions/publish@main\n      with:\n        vault-addr: ${{ secrets.TRDL_VAULT_ADDR }}\n        project-name: werf\n        vault-auth-method: approle\n        vault-role-id: ${{ secrets.TRDL_VAULT_ROLE_ID }}\n        vault-secret-id: ${{ secrets.TRDL_VAULT_SECRET_ID }}\n```\n\n## Common configuration\n\n### Project name\n\nThere should be an instance of vault plugin vault-plugin-secrets-trdl enabled at some mount point. Each project uses a separate vault-plugin-secrets-trdl instance to perform releases. Project name is vault-plugin-secrets-trdl mount point. Project name configured as follows:\n\n```\nuses: werf/trdl-vault-actions/publish@main\nwith:\n  project-name: myproject\n```\n\n### Authentication\n\nTo use static vault client token when performing vault requests set `vault-token` param:\n\n```\nuses: werf/trdl-vault-actions/publish@main\nwith:\n  vault-token: ${{ secrets.VAULT_TOKEN }}\n```\n\nAuthentication using `approle` method is also supported. Action will perform approle authentication to get client token before each request to the vault server.\n\n```\nuses: werf/trdl-vault-actions/publish@main\nwith:\n  vault-auth-method: approle\n  vault-role-id: ${{ secrets.VAULT_ROLE_ID }}\n  vault-secret-id: ${{ secrets.VAULT_SECRET_ID }}\n```\n\n**NOTE** `vault-token` and `vault-auth-method=approle` params are mutually exclusive.\n\n### Vault server\n\n```\nuses: werf/trdl-vault-actions/publish@main\nwith:\n  vault-addr: ${{ secrets.VAULT_ADDR }}\n```\n\n### Retry\n\n```\nuses: werf/trdl-vault-actions/publish@main\nwith:\n  retry: true\n```\n\nControls whether retries are enabled for failed operations.\n\n- **`true`** (default): Retries failed operations with exponentially increasing backoff delays, stopping after success or reaching `maxDelay`. The default `maxDelay` is 6 hours (21600 seconds), which matches the GitHub job timeout.  \n- **`false`**: No retries. The task fails immediately upon error.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwerf%2Ftrdl-vault-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwerf%2Ftrdl-vault-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwerf%2Ftrdl-vault-actions/lists"}