最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

git lfs - Storing the latest git-lfs file only in the HEAD of a branch to save storage - Stack Overflow

programmeradmin4浏览0评论

I don't have enough git lfs storage to store the tar of my docker image upon each commit. The image is supposed to be private and I don't want to create my own docker registry.

Is there a workflow that would allow me to store the image only in the HEAD of the master branch and were I wouldn't have to force push or where I would at least force push in a semi-safe way?

So what I want is that commiting on the master branch results in the docker image lfs pointer getting deleted from the previous commit and getting removed from lfs of course.

发布评论

评论列表(0)

  1. 暂无评论