{"id":17928438,"url":"https://github.com/kostis-codefresh/dockerize-latest-version","last_synced_at":"2026-05-10T02:54:28.488Z","repository":{"id":109860243,"uuid":"335320755","full_name":"kostis-codefresh/dockerize-latest-version","owner":"kostis-codefresh","description":"Create automatically a Docker image from a Github release","archived":false,"fork":false,"pushed_at":"2021-03-16T11:27:21.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T23:15:42.233Z","etag":null,"topics":["docker","dockerhub","github"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kostis-codefresh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-02T14:43:14.000Z","updated_at":"2021-03-16T11:27:23.000Z","dependencies_parsed_at":"2023-04-12T17:47:27.948Z","dependency_job_id":null,"html_url":"https://github.com/kostis-codefresh/dockerize-latest-version","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostis-codefresh%2Fdockerize-latest-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostis-codefresh%2Fdockerize-latest-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostis-codefresh%2Fdockerize-latest-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostis-codefresh%2Fdockerize-latest-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kostis-codefresh","download_url":"https://codeload.github.com/kostis-codefresh/dockerize-latest-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246981151,"owners_count":20863825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","dockerhub","github"],"created_at":"2024-10-28T21:02:48.595Z","updated_at":"2026-05-10T02:54:28.423Z","avatar_url":"https://github.com/kostis-codefresh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create Dockerhub images from Github releases\n\n\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/kostis-codefresh/dockerize-latest-version)](https://goreportcard.com/report/github.com/kostis-codefresh/dockerize-latest-version)\n[![Codefresh build status]( https://g.codefresh.io/api/badges/pipeline/kostis-codefresh/my-plugins%2Fdockerize-github-release?type=cf-1\u0026key=eyJhbGciOiJIUzI1NiJ9.NWIwZmYzYmE1ODAzMWUwMDAxYjJlOGUw.dFYNhKzaLSj6l3LoOWe0DlGiuY0McdrmrgHWtWNC9WE)]( https://g.codefresh.io/pipelines/edit/new/builds?id=6026be2d0ec1b47e060d3980\u0026pipeline=dockerize-github-release\u0026projects=my-plugins\u0026projectId=6026be05d65b217adde97a71)\n\nThis is a mini CLI + Container image to check if a github release is newer than the respective Dockerhub image.\nIf it is then it downloads the github asset so that you can create a Docker image out of it.\n\n## How to build\n\nRun:\n\n *  `go build` to get the executable OR\n *  `docker build . -t dockerize-latest-version` to create a container image if you prefer docker instead or don't have access to a Go dev environment\n\nA prebuilt image is already available at [https://hub.docker.com/r/kostiscodefresh/dockerize-latest-version](https://hub.docker.com/r/kostiscodefresh/dockerize-latest-version)\n\n## How to use the CLI\n\nThis CLI can be used like\n\nRun `dockerize-latest-release --repo argoproj/argo-rollouts -asset kubectl-argo-rollouts-linux-amd64 -image kostiscodefresh/argo-rollouts-cli `. This will fetch the github details and save them to a file called `asset-details.json`. It will also download `kubectl-argo-rollouts-linux-amd64` locally\n\nYou can use this CLI in any CI/CD system and the Dockerhub image in any container based pipeline.\n\n## Codefresh example\n\nSee an example for Codefresh at [codefresh-example.yml](codefresh-example.yml)\n\nCurrently it runs every 6 hours and pushes images to [https://hub.docker.com/r/kostiscodefresh/glooctl/](https://hub.docker.com/r/kostiscodefresh/glooctl/) and [https://hub.docker.com/r/kostiscodefresh/kubectl-argo-rollouts](https://hub.docker.com/r/kostiscodefresh/kubectl-argo-rollouts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostis-codefresh%2Fdockerize-latest-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkostis-codefresh%2Fdockerize-latest-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostis-codefresh%2Fdockerize-latest-version/lists"}