{"id":16780930,"url":"https://github.com/piyoki/github-tag-autoincrement","last_synced_at":"2026-04-20T14:06:51.283Z","repository":{"id":109083785,"uuid":"417344660","full_name":"piyoki/github-tag-autoincrement","owner":"piyoki","description":"auto-increment semantic version (semver) patch and add a github tag","archived":false,"fork":false,"pushed_at":"2021-10-15T13:52:56.000Z","size":15,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T08:52:50.118Z","etag":null,"topics":["ci","git","tag-autoincrement"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/piyoki.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}},"created_at":"2021-10-15T02:26:28.000Z","updated_at":"2021-10-15T04:48:08.000Z","dependencies_parsed_at":"2023-05-31T23:03:15.860Z","dependency_job_id":null,"html_url":"https://github.com/piyoki/github-tag-autoincrement","commit_stats":null,"previous_names":["miooochi/github-tag-autoincrement","piyoki/github-tag-autoincrement"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/piyoki/github-tag-autoincrement","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyoki%2Fgithub-tag-autoincrement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyoki%2Fgithub-tag-autoincrement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyoki%2Fgithub-tag-autoincrement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyoki%2Fgithub-tag-autoincrement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piyoki","download_url":"https://codeload.github.com/piyoki/github-tag-autoincrement/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piyoki%2Fgithub-tag-autoincrement/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["ci","git","tag-autoincrement"],"created_at":"2024-10-13T07:36:18.542Z","updated_at":"2026-04-20T14:06:51.263Z","avatar_url":"https://github.com/piyoki.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-tag-autoincrement\n\nauto-increment semantic version (semver) patch and add a github tag\n\n## Introduction\n\nThis light-weight Docker image is targeting a very primal need: a CI-CD pipeline hook-able docker image, which will auto-increment patch version `(Semantic Versioning)` without any other libraries in your codebase. For example, You can hook up this image in your `CICD` chain so that it will be invoked for each commit to master. By doing so, you can convert cryptic and hard-to-remember commit SHAs to nice `auto-incrementable` semver tags, for example v0.0.1.\n\nThis Docker image is intended to use with your CICD pipeline (Jenkins, Tekton) and it addresses these 2 issues\n\n1. Including a library/plugin/task-library just to `auto-increment` your patch version and creating tag in your codebase which has nothing to do with your business functionality.\n2. Manually upgrading the version of your codebase or Manually creating a Tag when the above-said libraries are not available in your choice of programming language.\n\n## Usage\n\n```bash\ndocker run \\\n  -e \"GITHUB_API_REPO_URL=https://api.github.com/repos/\u003cYOURUSERNAME\u003e/\u003cYOURREPONAME\u003e\" \\\n  -e \"TAG_PREFIX=v\" \\\n  -e \"GITHUB_USERNAME=\u003cYOURUSERNAME\u003e\" \\\n  -e \"GITHUB_TOKEN=\u003cYOURTOKEN\u003e\" \\\n  ghcr.io/yqlbu/github-tag-autoincrement\n```\n\nIf you just need to know the version in making so that you can tag your artifact with that version before you push to your `Container Registry` (Dockerhub / JFrog Artifactory / ECR / GCR etc), just add `MODE=READONLY`\n\n```bash\ndocker run \\\n  -e \"GITHUB_API_REPO_URL=https://api.github.com/repos/\u003cYOURUSERNAME\u003e/\u003cYOURREPONAME\u003e\" \\\n  -e \"TAG_PREFIX=v\" \\\n  -e \"GITHUB_USERNAME=\u003cYOURUSERNAME\u003e\" \\\n  -e \"GITHUB_TOKEN=\u003cYOURTOKEN\u003e\" \\\n  -e \"MODE=READONLY\" \\\n  ghcr.io/yqlbu/github-tag-autoincrement\n```\n\n## CI Templates\n\ncoming soon...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyoki%2Fgithub-tag-autoincrement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiyoki%2Fgithub-tag-autoincrement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiyoki%2Fgithub-tag-autoincrement/lists"}