img icon indicating copy to clipboard operation
img copied to clipboard

Respecting -t and -o flags simultaneously during img build

Open karolmie1 opened this issue 4 years ago • 0 comments

Hello!

Right now, I'm trying to run img build -o type=docker,dest=image2.tar -t myimage:latest .

Unfortunately I have to split this into two commands: img build -t myimage:latest . and img save myimage:latest -o image2

Problem is when I'm loading the image created with the first method, I'm loading image that is not tagged, while when I do the same docker load on the result of the second command I am blessed with properly tagged image.

Is this easily fixable in the tooling, or something that's not even possible to pull of currently? I would be interested in taking this up, provided I'm pointed in the general direction.

karolmie1 avatar Nov 13 '20 16:11 karolmie1