{"id":18575349,"url":"https://github.com/issmirnov/docker-tag-yoinker","last_synced_at":"2025-05-16T00:14:31.365Z","repository":{"id":46197793,"uuid":"277420384","full_name":"issmirnov/docker-tag-yoinker","owner":"issmirnov","description":"Updater utility for docker tags","archived":false,"fork":false,"pushed_at":"2021-11-08T01:50:20.000Z","size":4326,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T11:59:08.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/issmirnov.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}},"created_at":"2020-07-06T02:06:21.000Z","updated_at":"2021-11-08T02:10:40.000Z","dependencies_parsed_at":"2022-09-26T18:31:35.448Z","dependency_job_id":null,"html_url":"https://github.com/issmirnov/docker-tag-yoinker","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issmirnov%2Fdocker-tag-yoinker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issmirnov%2Fdocker-tag-yoinker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issmirnov%2Fdocker-tag-yoinker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/issmirnov%2Fdocker-tag-yoinker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/issmirnov","download_url":"https://codeload.github.com/issmirnov/docker-tag-yoinker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442856,"owners_count":22071878,"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":[],"created_at":"2024-11-06T23:18:47.793Z","updated_at":"2025-05-16T00:14:26.355Z","avatar_url":"https://github.com/issmirnov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Tag Yoinker\n\n[![Travis](https://travis-ci.com/issmirnov/docker-tag-yoinker.svg?branch=master)](https://travis-ci.com/issmirnov/docker-tag-yoinker)\n[![Release](https://img.shields.io/github/release/issmirnov/docker-tag-yoinker.svg?style=flat-square)](https://github.com/issmirnov/docker-tag-yoinker/releases/latest)\n![Total Downloads](https://img.shields.io/github/downloads/issmirnov/docker-tag-yoinker/total.svg)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Go Report Card](https://goreportcard.com/badge/github.com/issmirnov/docker-tag-yoinker?style=flat-square)](https://goreportcard.com/report/github.com/issmirnov/docker-tag-yoinker)\n[![Powered By: GoReleaser](https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=flat-square)](https://github.com/goreleaser)\n\nSometimes, you just want to yoink the latest tag of a docker image, but `:latest` is too Basic for you.\n\n`dty` (docker-tag-yoinker) is here to help.\n\nSimply set up a config file, and the binary will auto-yoink the latest tag that satisfies your rules.\n\n## Example\n\n[TOML](https://github.com/toml-lang/toml) Config:\n\n```\nimage = \"sourcegraph/server\"\nblacklist = [\"insiders\", \"rc\"]\n```\n\nThis will pull the latest tag from https://hub.docker.com/r/sourcegraph/server/tags that doesn't have \"insiders\" or \"rc\" in it and print it to STDOUT.\n\n\n## Usage in shell scripts.\n\n```\nexport TAG=$(dty -config sourcegraph.toml)\ndocker run --name sourcegraph \\\n      --restart=always -d --publish 8220:7080 --publish 2633:2633 \\\n      --volume ~/.sourcegraph/config:/etc/sourcegraph  \\\n      --volume ~/.sourcegraph/data:/var/opt/sourcegraph  \\\n      sourcegraph/server:$TAG \\\n```\n\nThis can be run inside a cron job, wired up to https://healthchecks.io/ or equivalent.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fissmirnov%2Fdocker-tag-yoinker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fissmirnov%2Fdocker-tag-yoinker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fissmirnov%2Fdocker-tag-yoinker/lists"}