{"id":15750744,"url":"https://github.com/iarekylew00t/crane-installer","last_synced_at":"2026-05-29T03:01:42.244Z","repository":{"id":143013395,"uuid":"614580972","full_name":"IAreKyleW00t/crane-installer","owner":"IAreKyleW00t","description":"📦 GitHub Action for installing the crane CLI tool","archived":false,"fork":false,"pushed_at":"2026-05-29T01:19:20.000Z","size":6514,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-29T01:24:33.259Z","etag":null,"topics":["crane","docker","docker-registry","github-actions","setup-action","typescript-action"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/crane-installer","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IAreKyleW00t.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":null,"security":".github/SECURITY.md","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":"2023-03-15T22:09:20.000Z","updated_at":"2026-05-29T01:17:14.000Z","dependencies_parsed_at":"2024-11-18T04:31:24.599Z","dependency_job_id":"01c1b134-1a8d-4a2b-8847-b916a79440dc","html_url":"https://github.com/IAreKyleW00t/crane-installer","commit_stats":{"total_commits":90,"total_committers":2,"mean_commits":45.0,"dds":0.4,"last_synced_commit":"b37ea1c694a6540c72e6937d0b0c60ef4f51d728"},"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"purl":"pkg:github/IAreKyleW00t/crane-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IAreKyleW00t%2Fcrane-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IAreKyleW00t%2Fcrane-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IAreKyleW00t%2Fcrane-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IAreKyleW00t%2Fcrane-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IAreKyleW00t","download_url":"https://codeload.github.com/IAreKyleW00t/crane-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IAreKyleW00t%2Fcrane-installer/sbom","scorecard":{"id":64287,"data":{"date":"2025-08-11","repo":{"name":"github.com/IAreKyleW00t/crane-installer","commit":"3aaa391fcd09b7c5fd88272a0075a20ea73f255c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Info: Found linked content: .github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/SECURITY.md:1","Info: Found text in security policy: .github/SECURITY.md:1"],"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":"Code-Review","score":0,"reason":"Found 0/5 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":"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":"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":"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":"Token-Permissions","score":7,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/check-dist.yml:17","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:17","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:38","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:59","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:19","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:20","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:14","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:44","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:216","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:22","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:58","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:101","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:138","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:175","Warn: no topLevel permission defined: .github/workflows/check-dist.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1"],"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":"Pinned-Dependencies","score":8,"reason":"dependency not pinned by hash detected -- score normalized to 8","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:181: update your workflow using https://app.stepsecurity.io/secureworkflow/IAreKyleW00t/crane-installer/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/IAreKyleW00t/crane-installer/test.yml/main?enable=pin","Info:  20 out of  20 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   3 third-party GitHubAction dependencies pinned","Info:   4 out of   4 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"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":"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":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: branch 'main' does not require approvers","Warn: codeowners review is not required on branch 'main'","Warn: 'last push approval' is disabled on branch 'main'","Warn: 'up-to-date branches' is disabled on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on 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":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (25) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"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-15T02:17:26.848Z","repository_id":143013395,"created_at":"2025-08-15T02:17:26.848Z","updated_at":"2025-08-15T02:17:26.848Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33634611,"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-05-29T02:00:06.066Z","response_time":107,"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":["crane","docker","docker-registry","github-actions","setup-action","typescript-action"],"created_at":"2024-10-04T06:42:26.929Z","updated_at":"2026-05-29T03:01:42.207Z","avatar_url":"https://github.com/IAreKyleW00t.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📦 crane-installer\n\n[![CI](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/ci.yml/badge.svg)](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/ci.yml)\n[![Tests](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/test.yml/badge.svg)](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/test.yml)\n[![Check dist/](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/check-dist.yml/badge.svg)](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/check-dist.yml)\n[![CodeQL](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/codeql.yml/badge.svg)](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/codeql.yml)  \n[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-crane--installer-blue?style=flat\u0026logo=github)](https://github.com/marketplace/actions/crane-installer)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/IAreKyleW00t/crane-installer?style=flat\u0026label=Latest%20Version\u0026color=blue)](https://github.com/IAreKyleW00t/crane-installer/tags)\n[![License](https://img.shields.io/github/license/IAreKyleW00t/crane-installer?label=License)](https://github.com/IAreKyleW00t/crane-installer/blob/main/LICENSE)\n[![Dependabot](https://img.shields.io/badge/Dependabot-0366d6?style=flat\u0026logo=dependabot\u0026logoColor=white)](.github/dependabot.yml)\n\nThis Action downloads\n[`crane`](https://github.com/google/go-containerregistry/tree/main/cmd/crane)\nand adds it to your `PATH`, with optional signature verification if you use the\n[SLSA Verifier](https://github.com/slsa-framework/slsa-verifier).\n\nFor a quick start guide on the usage of `crane`, refer to\n[its documentation](https://github.com/google/go-containerregistry/blob/main/cmd/crane/recipes.md).\n\nFor available `crane` releases, refer to\n[its releases](https://github.com/google/go-containerregistry/releases).\n\n\u003e This action supports Linux, macOS and Windows runners (results may vary with\n\u003e self-hosted runners).\n\n## Quick Start\n\n```yaml\n- name: Install crane\n  uses: iarekylew00t/crane-installer@v4\n```\n\n## Usage\n\n\u003e [!NOTE]\n\u003e\n\u003e `slsa-verifier` must be in your `PATH` for signature verification or it will\n\u003e be skipped - See\n\u003e [Automatic verification with SLSA Verifier](#automatic-verification-with-slsa-verifier).\n\u003e If `crane` is loaded from cache it will **not** be re-verified.\n\n## Inputs\n\n| Name            | Type    | Description                               | Default               |\n| --------------- | ------- | ----------------------------------------- | --------------------- |\n| `crane-release` | String  | `crane` release version to be installed   | `latest`              |\n| `verify`        | Boolean | Perform signature verification on `crane` | `true`                |\n| `cache`         | Boolean | Whether to utilize cache with `crane`     | `true`                |\n| `token`         | String  | GitHub token for REST API access          | `${{ github.token }}` |\n\n### Outputs\n\n| Name        | Type    | Description                              |\n| ----------- | ------- | ---------------------------------------- |\n| `version`   | String  | The version of `crane` the was installed |\n| `cache-hit` | Boolean | If `crane` was installed via cache       |\n\n## Examples\n\n### Pinned version\n\n```yaml\n- name: Install crane\n  uses: iarekylew00t/crane-installer@v4\n  with:\n    crane-release: v0.20.2\n```\n\n### Authenticate using Action\n\n```yaml\n- name: Install crane\n  uses: iarekylew00t/crane-installer@v4\n\n- name: Login to DockerHub\n  uses: docker/login-action@v3\n  with:\n    username: ${{ secrets.DOCKERHUB_USERNAME }}\n    password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n- name: Login to GHCR\n  uses: docker/login-action@v3\n  with:\n    registry: ghcr.io\n    username: ${{ github.actor }}\n    password: ${{ github.token }}\n```\n\n### Authenticate using `crane`\n\n```yaml\n- name: Install crane\n  uses: iarekylew00t/crane-installer@v4\n\n- name: Login to DockerHub\n  run: |\n    echo \"${{ secrets.DOCKERHUB_TOKEN }}\" | \\\n    crane auth login docker.io \\\n      --user \"${{ vars.DOCKERHUB_USERNAME }}\" \\\n      --pass-stdin\n\n- name: Login to GHCR\n  run: |\n    echo \"${{ github.token }}\" | \\\n    crane auth login ghcr.io \\\n      --user \"${{ github.actor }}\" \\\n      --pass-stdin\n```\n\n### Automatic verification with SLSA Verifier\n\n```yaml\n- name: Install SLSA verifier\n  uses: slsa-framework/slsa-verifier/actions/installer@v2.6.0\n\n- name: Install crane\n  uses: iarekylew00t/crane-installer@v4\n```\n\n## Development\n\n\u003e [!CAUTION]\n\u003e\n\u003e Since this is a TypeScript action you **must** transpile it into native\n\u003e JavaScript. This is done for you automatically as part of the `npm run all`\n\u003e command and will be validated via the\n\u003e [`check-dist.yml`](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/check-dist.yml)\n\u003e Workflow in any PR.\n\n1. ⚙️ Install the version of [Node.js](https://nodejs.org/en) as defined in the\n   [`.tool-versions`](.tool-versions).  \n   You can use [asdf](https://github.com/asdf-vm/asdf) to help manage your\n   project runtimes.\n\n   ```sh\n   asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git\n   asdf install\n   ```\n\n2. 🛠️ Install dependencies\n\n   ```sh\n   npm install\n   ```\n\n3. 🏗️ Format, lint, test, and package your code changes.\n\n   ```sh\n   npm run all\n   ```\n\n## Releases\n\nFor maintainers, the following release process should be used when cutting new\nversions.\n\n1. ⏬ Pull down the latest changes and ensure all\n   [Workflows](https://github.com/IAreKyleW00t/crane-installer/actions) are\n   passing.\n\n   ```sh\n   git checkout main\n   git pull\n   ```\n\n2. ✅ Bump the package version.\n\n   ```sh\n   npm version \u003cmajor|minor|patch\u003e -m \"chore: Bumping version to vX.Y.Z\"\n   ```\n\n3. 🔖 Create a new Tag, push it up, then create a\n   [new Release](https://github.com/IAreKyleW00t/crane-installer/releases/new)\n   for the version.\n\n   ```sh\n   git tag vX.Y.Z\n   git push -u origin vX.Y.Z\n   ```\n\n   Alternatively you can create the Tag on the GitHub Release page itself.\n\n   When the tag is pushed it will kick off the\n   [Shared Tags](https://github.com/IAreKyleW00t/crane-installer/actions/workflows/shared-tags.yml)\n   Workflows to update the `v$MAJOR` and `v$MAJOR.MINOR` tags.\n\n## Contributing\n\nFeel free to contribute and make things better by opening an\n[Issue](https://github.com/IAreKyleW00t/crane-installer/issues) or\n[Pull Request](https://github.com/IAreKyleW00t/crane-installer/pulls).  \nThank you for your contribution! ❤️\n\n## License\n\nSee\n[LICENSE](https://github.com/IAreKyleW00t/crane-installer/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiarekylew00t%2Fcrane-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiarekylew00t%2Fcrane-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiarekylew00t%2Fcrane-installer/lists"}