{"id":23359763,"url":"https://github.com/firehed/docker-check-action","last_synced_at":"2025-07-23T01:34:17.294Z","repository":{"id":44787635,"uuid":"392093219","full_name":"Firehed/docker-check-action","owner":"Firehed","description":"Run Checks inside of Docker","archived":false,"fork":false,"pushed_at":"2022-01-24T18:19:15.000Z","size":15,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-25T14:54:36.647Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Firehed.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-08-02T21:01:39.000Z","updated_at":"2022-01-24T18:19:18.000Z","dependencies_parsed_at":"2023-01-05T04:49:14.501Z","dependency_job_id":null,"html_url":"https://github.com/Firehed/docker-check-action","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"de557b68721fd72c0df56dd0e16c3789d0c4001f"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Firehed/docker-check-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fdocker-check-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fdocker-check-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fdocker-check-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fdocker-check-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Firehed","download_url":"https://codeload.github.com/Firehed/docker-check-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firehed%2Fdocker-check-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265402618,"owners_count":23759192,"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-12-21T11:11:54.589Z","updated_at":"2025-07-23T01:34:17.273Z","avatar_url":"https://github.com/Firehed.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build tools for Github Actions\n\n## Docker Check\n\nThis step runs a Docker command and captures the output into a Check in Github Actions.\nThe main use-case is pairing with the above `docker-multistage-build` to perform additional optimizations that avoid image pulls, performing multiple test stages while retaining clear outputs on what is passing and failing in the Checks UI.\n\n### Inputs\n\n| Input | Required | Description |\n|---|---|---|\n| `name` | **yes** | Check Name |\n| `token` | **yes** | `GITHUB_TOKEN`. Normally, you will set this to `${{ secrets.GITHUB_TOKEN }}` |\n| `image` | **yes** | The image to run |\n| `command` | **yes** | Command to run inside of Docker |\n| `options` | no | Additional options to pass to `docker run` |\n\n### Example\n\n```yaml\nname: \"Self-test: Docker check\"\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  run-docker:\n    name: Run docker\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: firehed/actions/docker-check@v1\n        with:\n          name: 'Run llllls'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          image: alpine:latest\n          command: llllls\n\n      - uses: firehed/actions/docker-check@v1\n        # Do this even if the previous step failed\n        if: ${{ always() }}\n        with:\n          name: 'Run ls'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          image: alpine:latest\n          command: ls\n          options:\n            --env-file .env\n            --volume ${{ github.workspace }}/coverage:/coverage\"\n```\n\n### Using with Dependabot\n\nBy default, Dependabot will run Actions with read-only permissions on private repositories (note: this applies to _any_ external user, not just Dependabot).\nThis means that since this action uses the Checks API to create and update statuses, the API calls will fail and the action will not complete.\nTo resolve this, ensure that in your workflow file, `permissions.checks` is set to `write`.\nThis can be done at the top level or within a job.\nBe aware that configuring any permission results in all non-specified APIs being set to `none`, which will probably not work.\nAt minimum, you will also want `permissions.contents` set to `read` (so the repo can be checked out by the workflow); other values may need adjusting based on the contents of your workflow.\nSee the [official documentation](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions) for additional information.\n\nNote: there may be additional configuration requirements for organization-owned private repositories.\nStill researching this...\n\n### Known issues\n\n- Due to current limitations in the Checks API, the check is attached to a random workflow, not necessarily the one this is in.\n  This requires an upstream fix.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirehed%2Fdocker-check-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirehed%2Fdocker-check-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirehed%2Fdocker-check-action/lists"}