{"id":22002935,"url":"https://github.com/rssnyder/drone-plugin-latest-delegate","last_synced_at":"2026-05-19T19:05:19.749Z","repository":{"id":245927383,"uuid":"819576782","full_name":"rssnyder/drone-plugin-latest-delegate","owner":"rssnyder","description":"get the latest delegate image for your harness account","archived":false,"fork":false,"pushed_at":"2024-06-25T17:09:03.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T06:12:33.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rssnyder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-24T19:38:43.000Z","updated_at":"2024-06-25T17:09:06.000Z","dependencies_parsed_at":"2024-06-24T21:48:39.408Z","dependency_job_id":"5e077f6e-4977-4607-bb90-cd0486efbe84","html_url":"https://github.com/rssnyder/drone-plugin-latest-delegate","commit_stats":null,"previous_names":["rssnyder/drone-plugin-latest-delegate"],"tags_count":0,"template":false,"template_full_name":"rssnyder/drone-plugin-shell","purl":"pkg:github/rssnyder/drone-plugin-latest-delegate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-plugin-latest-delegate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-plugin-latest-delegate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-plugin-latest-delegate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-plugin-latest-delegate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rssnyder","download_url":"https://codeload.github.com/rssnyder/drone-plugin-latest-delegate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-plugin-latest-delegate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264852993,"owners_count":23673547,"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-11-29T23:42:06.884Z","updated_at":"2026-05-19T19:05:19.697Z","avatar_url":"https://github.com/rssnyder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drone-plugin-latest-delegate\n\nget the latest delegate image for your harness account\n\noptinally, set the latest custom delegate image for your account\n\n## configuration\n\n- `HARNESS_PLATFORM_API_KEY`: api key to authenticate to harness api (required)\n- `HARNESS_ENDPOINT`: harness url for your account (default: `app.harness.io`)\n\n### to set the latest custom image for your account\n\n- `DELEGATE_TAG`: delegate tag to use for the latest in your account, format: `\u003crepo\u003e/\u003cimage\u003e:\u003ctag\u003e` (default: ` `)\n- `VALID_TILL_NEXT_RELEASE`: if set to true, harness will override your custom tag when new delegate is released (default: `false`)\n- `VALID_FOR_DAYS`: days after which harness will override your custom tag (default: `180`)\n\n## usage\n\nget latest\n\n```yaml\n- step:\n    type: Plugin\n    name: latest delegate\n    identifier: latest_delegate\n    spec:\n      connectorRef: account.dockerhub\n      image: rssnyder/drone-plugin-latest-delegate\n      settings:\n        HARNESS_PLATFORM_API_KEY: \u003c+secrets.getValue(\"account.api\")\u003e\n```\n\nset latest\n\n```yaml\n- step:\n    type: Plugin\n    name: set latest delegate\n    identifier: set_latest_delegate\n    spec:\n      connectorRef: account.dockerhub\n      image: rssnyder/drone-plugin-latest-delegate\n      settings:\n        HARNESS_PLATFORM_API_KEY: \u003c+secrets.getValue(\"account.api\")\u003e\n        DELEGATE_TAG: companyrepo/harness_delegate:latest\n```\n\n## output\n\nwhen getting latest\n\n- `latestSupportedVersion`\n- `latestSupportedMinimalVersion`\n\nwhen setting latest\n\nnone\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frssnyder%2Fdrone-plugin-latest-delegate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frssnyder%2Fdrone-plugin-latest-delegate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frssnyder%2Fdrone-plugin-latest-delegate/lists"}