{"id":26060042,"url":"https://github.com/theo-brown/fetch-dockerhub-metadata","last_synced_at":"2026-04-12T03:04:10.703Z","repository":{"id":37945455,"uuid":"396025513","full_name":"theo-brown/fetch-dockerhub-metadata","owner":"theo-brown","description":"Github Action to get metadata of an image from DockerHub","archived":false,"fork":false,"pushed_at":"2023-01-25T21:13:22.000Z","size":300,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-11T19:07:14.386Z","etag":null,"topics":["actions","docker","docker-image","metadata"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/theo-brown.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":"CODEOWNERS","security":null,"support":null}},"created_at":"2021-08-14T14:00:15.000Z","updated_at":"2021-08-16T13:42:41.000Z","dependencies_parsed_at":"2023-02-10T06:15:59.830Z","dependency_job_id":null,"html_url":"https://github.com/theo-brown/fetch-dockerhub-metadata","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"dd615906c18d7184fe490e68ef6f0177528b8386"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/theo-brown/fetch-dockerhub-metadata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theo-brown%2Ffetch-dockerhub-metadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theo-brown%2Ffetch-dockerhub-metadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theo-brown%2Ffetch-dockerhub-metadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theo-brown%2Ffetch-dockerhub-metadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theo-brown","download_url":"https://codeload.github.com/theo-brown/fetch-dockerhub-metadata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theo-brown%2Ffetch-dockerhub-metadata/sbom","scorecard":{"id":879453,"data":{"date":"2025-08-11","repo":{"name":"github.com/theo-brown/fetch-dockerhub-metadata","commit":"dd615906c18d7184fe490e68ef6f0177528b8386"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/example.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/example.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/theo-brown/fetch-dockerhub-metadata/example.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/theo-brown/fetch-dockerhub-metadata/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/theo-brown/fetch-dockerhub-metadata/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: fetch-dockerhub-metadata-test/Dockerfile:1: pin your Docker image by updating busybox to busybox@sha256:ab33eacc8251e3807b85bb6dba570e4698c3998eca6f0fc2ccb60575a563ea74","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:15","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"23 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7r3h-m5j6-3q42","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T07:30:55.339Z","repository_id":37945455,"created_at":"2025-08-24T07:30:55.339Z","updated_at":"2025-08-24T07:30:55.339Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"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":["actions","docker","docker-image","metadata"],"created_at":"2025-03-08T13:50:40.679Z","updated_at":"2026-04-12T03:04:10.686Z","avatar_url":"https://github.com/theo-brown.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n fetch-dockerhub-metadata\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n \u003cem\u003e\n  GitHub Action to download Docker image metadata from a DockerHub repo\n \u003c/em\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://img.shields.io/github/v/release/theo-brown/fetch-dockerhub-metadata\"\u003e\n \u003cimg src=\"https://img.shields.io/maintenance/yes/2021\"\u003e\n \u003cimg src=\"https://img.shields.io/github/license/theo-brown/fetch-dockerhub-metadata\"\u003e\n \u003ca href=\"https://github.com/theo-brown/fetch-dockerhub-metadata/actions/workflows/test.yml\"\u003e\n  \u003cimg src=\"https://github.com/theo-brown/fetch-dockerhub-metadata/actions/workflows/test.yml/badge.svg\"\u003e\n \u003c/a\u003e\n\u003c/p\u003e\n\n\n## About\nThis GitHub Action makes it easy to extract labels, versions, and other image metadata\nfrom an image hosted on DockerHub. This can be useful if, for example, you want to check that the\nimage on DockerHub is running the latest version of a piece of software.\n\n**Inputs:**\n- `repository` *(required)*:\n  The name of a Docker repository e.g.`theobrown/fetch-dockerhub-metadata-test` \n- `tag` *(optional, default: latest)* : \n  The tag of the Docker image to fetch from the repository\n\n**Outputs:**\n- `architecture`: Docker image architecture\n- `config`: String-encoded JSON containing image config (see below)\n- `labels`: String-encoded JSON containing labels attached to image\n- `container`: ID of container\n- `container_config`: String-encoded JSON containing container config (see below)\n- `created`: Timestamp of image creation\n- `docker_version`: Docker version that image is built using\n- `history`: String-encoded JSON containing build history\n- `os`: OS running on image\n- `rootfs`: Layer list\n\n**Config JSON format**:\n- `Hostname` *(string)*\n- `Domainname` *(string)*\n- `User` *(string)*\n- `AttachStdin` *(boolean)*\n- `AttachStdout` *(boolean)*\n- `AttachStderr` *(boolean)*\n- `ExposedPorts` *(json)*\n- `Tty` *(boolean)*\n- `OpenStdin` *(boolean)*\n- `StdinOnce` *(boolean)*\n- `Env` *(array of strings)*\n- `Cmd` *(array of strings)*\n- `Image` *(string)*\n- `Volumes` *(array of strings)*\n- `WorkingDir` *(string)*\n- `Entrypoint` *(array of strings)*\n- `OnBuild` *(string)* \n- `Labels` *(json)*\n\n## Example\n\nThis example workflow is set up in this repository. The code can be found \nat [.github/workflows/example.yml](https://github.com/theo-brown/fetch-dockerhub-metadata/blob/main/.github/workflows/example.yml).\n\n```yaml\nname: 'Example workflow'\non:\n  pull_request:\n  push:\n    branches:\n      - main\n      - 'releases/*'\n  workflow_dispatch:\n\njobs:\n  fetch-metadata-example:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetch metadata from DockerHub\n        id: fetch-metadata\n        uses: theo-brown/fetch-dockerhub-metadata@v1\n        with:\n          repository: theobrown/fetch-dockerhub-metadata-test\n          tag: latest\n      - name: An example step (get the label matching id 'testlabel')\n        run: |\n          echo '${{ steps.fetch-metadata.outputs.labels }}' | jq .testlabel\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheo-brown%2Ffetch-dockerhub-metadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheo-brown%2Ffetch-dockerhub-metadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheo-brown%2Ffetch-dockerhub-metadata/lists"}