{"id":18390614,"url":"https://github.com/nextauthjs/github-workers","last_synced_at":"2025-04-12T08:58:46.449Z","repository":{"id":41855095,"uuid":"337563383","full_name":"nextauthjs/github-workers","owner":"nextauthjs","description":"Certain providers block cloud IPs, so we need self-hosted workers to circumvent this for running tests in GitHub Actions","archived":false,"fork":false,"pushed_at":"2022-04-26T07:32:55.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T08:58:40.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/nextauthjs.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}},"created_at":"2021-02-09T23:20:14.000Z","updated_at":"2025-02-09T22:48:15.000Z","dependencies_parsed_at":"2022-08-11T19:31:28.085Z","dependency_job_id":null,"html_url":"https://github.com/nextauthjs/github-workers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fgithub-workers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fgithub-workers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fgithub-workers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextauthjs%2Fgithub-workers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextauthjs","download_url":"https://codeload.github.com/nextauthjs/github-workers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543870,"owners_count":21121838,"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-06T01:48:36.184Z","updated_at":"2025-04-12T08:58:46.418Z","avatar_url":"https://github.com/nextauthjs.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NextAuth.js GitHub Actions workers 👷\n\n## Prerequisities\n\n1. Get Personal Access Token (PAT) with \"repo\" and \"workflow\" scope: https://github.com/settings/tokens\n2. Create .env.local\n3. add `ACCESS_TOKEN=PASTE_PAT_HERE`\n\n## Build image\n\n```sh\ndocker build --tag runner .\n```\n\n## Run container\n\n### Single\n#### Run\n```sh\ndocker run \\\n  --detach \\\n  --env-file \".env.local\" \\\n  --name runner \\\n  runner\n```\n\n#### Stop\n```sh\ndocker stop runner\ndocker rm runner\n```\n\n### Swarm\n\n#### Build Docker Compose\n```sh\ndocker-compose build\n```\n\n#### Start 3 runners\n```sh\ndocker-compose up --scale runner=3 -d\n```\n#### Stop\n```sh\ndocker-compose down runner\n```\n\n# Thanks / More info\nhttps://testdriven.io/blog/github-actions-docker/\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextauthjs%2Fgithub-workers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextauthjs%2Fgithub-workers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextauthjs%2Fgithub-workers/lists"}