{"id":23110531,"url":"https://github.com/shrink/actions-docker-registry-tag","last_synced_at":"2026-04-02T19:07:12.416Z","repository":{"id":43567303,"uuid":"298866591","full_name":"shrink/actions-docker-registry-tag","owner":"shrink","description":":whale: Add many tags to an image in a Docker Registry","archived":false,"fork":false,"pushed_at":"2026-03-30T20:55:40.000Z","size":411,"stargazers_count":5,"open_issues_count":3,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-30T22:22:50.202Z","etag":null,"topics":["actions","actions-docker","docker-registry","docker-tag","docker-tags","ghcr","github-actions"],"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/shrink.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-26T17:35:27.000Z","updated_at":"2026-03-30T20:54:04.000Z","dependencies_parsed_at":"2024-11-25T18:42:59.970Z","dependency_job_id":null,"html_url":"https://github.com/shrink/actions-docker-registry-tag","commit_stats":{"total_commits":19,"total_committers":5,"mean_commits":3.8,"dds":0.368421052631579,"last_synced_commit":"4ac5811b7e6295d9853acf8d241197767cac2015"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/shrink/actions-docker-registry-tag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrink%2Factions-docker-registry-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrink%2Factions-docker-registry-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrink%2Factions-docker-registry-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrink%2Factions-docker-registry-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shrink","download_url":"https://codeload.github.com/shrink/actions-docker-registry-tag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrink%2Factions-docker-registry-tag/sbom","scorecard":{"id":821135,"data":{"date":"2025-08-11","repo":{"name":"github.com/shrink/actions-docker-registry-tag","commit":"4ac5811b7e6295d9853acf8d241197767cac2015"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"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":"Code-Review","score":1,"reason":"Found 2/19 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/package-action.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/package-action.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/package-action.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/package-action.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sync-release-branch.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/sync-release-branch.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sync-release-branch.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/sync-release-branch.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests-integration.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/tests-integration.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests-integration.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/tests-integration.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests-integration.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/tests-integration.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests-integration.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/tests-integration.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests-unit.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/tests-unit.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests-unit.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/tests-unit.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/validate-tag.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/validate-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-tag.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/validate-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate-tag.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/shrink/actions-docker-registry-tag/validate-tag.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/package-action.yml:17","Warn: npmCommand not pinned by hash: .github/workflows/tests-integration.yml:28","Warn: npmCommand not pinned by hash: .github/workflows/tests-unit.yml:18","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of   3 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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/package-action.yml:1","Warn: no topLevel permission defined: .github/workflows/sync-release-branch.yml:1","Warn: no topLevel permission defined: .github/workflows/tests-integration.yml:1","Warn: no topLevel permission defined: .github/workflows/tests-unit.yml:1","Warn: no topLevel permission defined: .github/workflows/validate-tag.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":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/tests-integration.yml:21"],"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":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 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":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","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-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","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-23T15:37:45.876Z","repository_id":43567303,"created_at":"2025-08-23T15:37:45.876Z","updated_at":"2025-08-23T15:37:45.876Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31313922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","actions-docker","docker-registry","docker-tag","docker-tags","ghcr","github-actions"],"created_at":"2024-12-17T01:49:21.294Z","updated_at":"2026-04-02T19:07:12.408Z","avatar_url":"https://github.com/shrink.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Registry Tag\n\nA GitHub Action for adding many tags to an existing image in a Docker Registry\n_without_ changing the digest, using Docker Registry API V2.\n\n```yaml\n- uses: shrink/actions-docker-registry-tag@v5\n  with:\n    registry: ghcr.io\n    repository: ${{ github.repository }}\n    target: sha-${{ github.sha }}\n    tags: |\n      v1.0.0\n      latest\n```\n\n:package: [Automatic Release Packaging](#automatic-release-packaging) is used by\nthis action, please reference by tag or commit hash in your Workflows.\n\n## Inputs\n\nToken is an optional input for GitHub's Container Registry. Ensure the Actions\ntoken has permission to write to the package repository by granting access as\ndescribed in [\"About GitHub Packages with GitHub Actions\"][docs/package-access].\n\n| ID               | Description                                          | Examples                    |\n| ---------------- | ---------------------------------------------------- | --------------------------- |\n| **`registry`**   | **Registry API root domain**                         | `ghcr.io` `index.docker.io` |\n| `token`          | Bearer token for the Registry API                    | `${{ secrets.DOCKER_KEY }}` |\n| **`repository`** | **Image repository name**                            | `shrink/example`            |\n| **`target`**     | **Tag of the existing image**                        | `branch-name` `sha-1150f2f` |\n| **`tags`**       | **Tag(s) to add to the target (new-line delimited)** | `v1.0.1` `latest`           |\n\n## Outputs\n\nNo outputs.\n\n## Examples\n\n### Tag Image with Semantic Version\n\nAdd Semantic Version tag to a commit's image in registry when a new tag is\npushed to the repository. The target image is assumed to have been tagged with\n`sha-${{ github.sha }}` on build.\n\n```yaml\nname: Tag Image With Version\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n\njobs:\n  add-version-tag:\n    runs-on: ubuntu-latest\n    steps:\n      - id: version\n        uses: battila7/get-version-action@v2\n      - name: Add Semantic Version tag to Docker Image\n        uses: shrink/actions-docker-registry-tag@v5\n        with:\n          registry: ghcr.io\n          repository: '${{ github.repository }}'\n          target: 'sha-${{ github.sha }}'\n          tags: '${{ steps.version.outputs.version }}'\n```\n\n## Automatic Release Packaging\n\nPackaging (creation of `dist`) happens automatically when a new tag is created.\nAny reference to this Action in a Workflow must use a [tag][tags] (mutable) or\nthe commit hash of a tag (immutable).\n\n```yaml\n✅ uses: shrink/actions-docker-registry-tag@v5\n✅ uses: shrink/actions-docker-registry-tag@v5.0.0\n✅ uses: shrink/actions-docker-registry-tag@57e97909852876c02080eff4d73b2e5e779b845b\n❌ uses: shrink/actions-docker-registry-tag@main\n```\n\nThe blog post\n[Package GitHub Actions automatically with GitHub Actions][blog/package-automatically]\ndescribes how this achieved.\n\n[battila7/get-version-action]: https://github.com/battila7/get-version-action\n[examples]: #examples\n[blog/package-automatically]: https://medium.com/prompt/package-github-actions-automatically-with-github-actions-a70b9f7bae4\n[tags]: https://github.com/shrink/actions-docker-registry-tag/tags\n[docs/package-access]: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrink%2Factions-docker-registry-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshrink%2Factions-docker-registry-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrink%2Factions-docker-registry-tag/lists"}