{"id":23435540,"url":"https://github.com/customcommander/publish-docker-image","last_synced_at":"2026-02-01T18:32:55.133Z","repository":{"id":73818674,"uuid":"332280545","full_name":"customcommander/publish-docker-image","owner":"customcommander","description":"Maintain your Docker image on GitHub. Publish it to Docker Hub.","archived":false,"fork":false,"pushed_at":"2021-01-26T18:05:53.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-21T21:03:25.485Z","etag":null,"topics":["continuous-deployment","dockerhub"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/customcommander.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-01-23T18:29:01.000Z","updated_at":"2021-01-26T18:06:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"dfebef2e-7b96-446b-bda2-3b5f34dfcdfb","html_url":"https://github.com/customcommander/publish-docker-image","commit_stats":null,"previous_names":[],"tags_count":5,"template":true,"template_full_name":null,"purl":"pkg:github/customcommander/publish-docker-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customcommander%2Fpublish-docker-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customcommander%2Fpublish-docker-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customcommander%2Fpublish-docker-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customcommander%2Fpublish-docker-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/customcommander","download_url":"https://codeload.github.com/customcommander/publish-docker-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/customcommander%2Fpublish-docker-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28985818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T18:17:03.387Z","status":"ssl_error","status_checked_at":"2026-02-01T18:16:57.287Z","response_time":56,"last_error":"SSL_read: 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":["continuous-deployment","dockerhub"],"created_at":"2024-12-23T12:51:50.364Z","updated_at":"2026-02-01T18:32:55.113Z","avatar_url":"https://github.com/customcommander.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# publish-docker-image\n\nThis template repository allows you to maintain your Docker image on GitHub and publish it to Docker Hub.\n\n## How does it work?\n\nThis template enforces [semantic versioning][] by adopting the [Angular Commit Message Conventions][].\n\nWhy? So that we can fully automate the process of cutting GitHub releases:\n\n1. Everytime you push to your default branch (which must be either `main` or `master`), a GitHub workflow will work out whether to cut a major, minor or patch release based on your commit messages since the previous release.\n\n2. Once a GitHub release is cut, another GitHub workflow will start pushing that GitHub release to Docker Hub.\n\n3. The `CHANGELOG.md` file is updated automatically.\n\n## Setup Instructions\n\n### Before you create a repository from this template\n\n1. Make sure that the corresponding Docker Hub repository exists (or create it).\n2. Make sure that the corresponding Docker Hub repository is **not** linked to a GitHub repository. (This is the default.)\n\n### After you created a repository from this template\n\nYou *MUST* complete all these steps before you do anything else:\n\n1. Go to your Docker Hub account and create a new [personal access token][gh-token] (and copy its value).\n\n2. Go to your GitHub account and create a new [personal access token][dh-token] (and copy its value).\n\n3. Create an [encrypted secret for your repository][gh-secret] named `GH_TOKEN` and set it to the token created in step 2.\n\n4. Create an [encrypted secret for your repository][gh-secret] named `DOCKERHUB_TOKEN` and set it to the token created in step 1.\n\n5. Create an [encrypted secret for your repository][gh-secret] named `DOCKERHUB_USERNAME` and set it to your Docker Hub username.\n\n6. Replace the `IMAGE_TITLE` variable in `.github/workflows/publish.yml`.\n\n### Finally\n\nNone of these are strictly required but it would make sense to have a look:\n\n7.  Replace `Dockerfile` with your own content!\n\n8.  Review and/or replace the `.dockerignore` file.\n\n9.  Empty the `CHANGELOG.md` file.\n\n10. Reset the version number in `package.json`.\n\n11. Update the name, author and repository properties in `package.json` (but keep everything else unchanged).\n\n12. The current NPM `build` script can be changed. It is invoked to test your Docker image before publishing it.\n\n13. Replace this README with your own content ;)\n\n[semantic versioning]: https://semver.org\n[angular commit message conventions]: https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines\n[gh-secret]: https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository\n[gh-token]: https://docs.docker.com/docker-hub/access-tokens/\n[dh-token]: https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcustomcommander%2Fpublish-docker-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcustomcommander%2Fpublish-docker-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcustomcommander%2Fpublish-docker-image/lists"}