resonai / ybt

Yet another Build Tool
Apache License 2.0
2 stars 2 forks source link

cache for docker image is broken when using --push #189

Open eyal-resonai opened 4 years ago

eyal-resonai commented 4 years ago

If a docker image target is in the cache and I run ybt build <target> --push the push will not happen. even if the remote image tag was changed since the last build, cause a real issue when you change the tag and not the content like happens many times in CI system where the tag is the commit hash

eyal-resonai commented 4 years ago

The issue with this solution is that with it, when someone needs a base image for creating a docker image (since the Docker target is base on) the base image will be pushed to the remote repo (fast since it's there but still)