{"id":50991754,"url":"https://github.com/buddy/docker-login","last_synced_at":"2026-06-20T04:05:34.213Z","repository":{"id":364067642,"uuid":"1168564459","full_name":"buddy/docker-login","owner":"buddy","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-11T13:11:25.000Z","size":371,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-11T15:08:28.778Z","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/buddy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2026-02-27T14:38:06.000Z","updated_at":"2026-06-11T13:11:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/buddy/docker-login","commit_stats":null,"previous_names":["buddy/docker-login"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/buddy/docker-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fdocker-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fdocker-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fdocker-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fdocker-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buddy","download_url":"https://codeload.github.com/buddy/docker-login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fdocker-login/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34556500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":"2026-06-20T04:05:33.819Z","updated_at":"2026-06-20T04:05:34.205Z","avatar_url":"https://github.com/buddy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buddy Docker Login\n\nGitHub Action for logging in to the [Buddy](https://buddy.works) Docker registry using the BDY CLI.\n\n## Features\n\n- Authenticate with Buddy's Docker registry\n- Works with `buddy/login` environment variables or direct inputs\n- Supports on-premises Buddy installations via custom API endpoint\n\n## Usage\n\n### Basic (with `buddy/login`)\n\n```yaml\nsteps:\n  - uses: buddy/login@v1\n    with:\n      token: ${{ secrets.BUDDY_TOKEN }}\n      region: US\n  - uses: buddy/docker-login@v1\n```\n\n### Direct (without `buddy/login`)\n\n```yaml\nsteps:\n  - uses: buddy/docker-login@v1\n    with:\n      token: ${{ secrets.BUDDY_TOKEN }}\n      region: us\n```\n\n### On-premises\n\n```yaml\nsteps:\n  - uses: buddy/docker-login@v1\n    with:\n      token: ${{ secrets.BUDDY_TOKEN }}\n      api_url: https://buddy.example.com/api\n```\n\nBy default, this action automatically installs the latest BDY CLI from the production channel. If you need a specific version or channel, use [`buddy/setup`](https://github.com/buddy/setup) before this action.\n\n## Inputs\n\n| Input     | Description                                                        | Required | Default                      |\n| --------- | ------------------------------------------------------------------ | -------- | ---------------------------- |\n| `token`   | Buddy personal access token                                        | No       | `BUDDY_TOKEN` env var        |\n| `region`  | Buddy region (`us`, `eu`, `as`)                                    | No       | `BUDDY_REGION` env var       |\n| `api_url` | Buddy API endpoint for on-premises installations                   | No       | `BUDDY_API_ENDPOINT` env var |\n| `debug`   | Run the BDY CLI in DEBUG mode and dump `~/.bdy/cli.log` on failure | No       | `false`                      |\n\n## Environment Variables\n\nWhen using [`buddy/login`](https://github.com/buddy/login), the following environment variables are automatically set and used as defaults:\n\n- `BUDDY_TOKEN` - Buddy personal access token\n- `BUDDY_REGION` - Buddy region\n- `BUDDY_API_ENDPOINT` - Buddy API endpoint (on-premises only)\n\n## Example Workflow\n\n```yaml\nname: Build and Push\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: buddy/login@v1\n        with:\n          token: ${{ secrets.BUDDY_TOKEN }}\n          region: US\n\n      - uses: buddy/docker-login@v1\n\n      - run: docker build -t container.registry.sh/my-workspace/my-app:latest .\n      - run: docker push container.registry.sh/my-workspace/my-app:latest\n```\n\n## Debugging\n\nIf a BDY CLI command fails, the action throws an error that includes the exit code, the command that was run, and its captured output.\n\nEnabling debug runs the BDY CLI in DEBUG mode, so it writes verbose logs to `~/.bdy/cli.log`, and on failure dumps that log (plus a stack trace) into the workflow output. Enable it in either of these ways:\n\n- **Per step** — set the `debug` input on this action:\n\n  ```yaml\n  - uses: buddy/docker-login@v1\n    with:\n      debug: true\n  ```\n\n- **Whole run** — enable [GitHub step debug logging](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging), either by ticking **Enable debug logging** in the \"Re-run jobs\" dialog or by setting the `ACTIONS_STEP_DEBUG` repository secret/variable to `true`.\n\n## License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuddy%2Fdocker-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuddy%2Fdocker-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuddy%2Fdocker-login/lists"}