#is it possible to pull an image built locally in dagger ?

1 messages · Page 1 of 1 (latest)

frigid vale
#

Hi folks

I have a go binary that i am building using https://ko.build/. ko only does the building part for now without pushing to an oci registry. the ko ouput is an image with a name prefixed with ko.local/github.com/<myorg>/<myrepo> then i tried loading that in dagger and it barked at me because it thinks that ko.local is an existing host on the internet. do i have to rename the image ? I am basically trying to test an image locally before pushing it to an image registry

do i have to build the image then push it to a local registry for dagger to see it ? or there is a way i can pull the image from a local docker tag without using a registry ?