Open Fuco1 opened 5 years ago
I have an image definition with both pull and context. This seems to work fine so long as I use dobi img:pull or dobi img:build on the CLI.
pull
context
dobi img:pull
dobi img:build
However having a job with use: img always builds. I want to pull the image for the jobs and use the build configuration on CI to build the image.
use: img
Currently it seems I have to include two image resources. This is not ideal as the tags/names etc. need to be duplicated.
It might be possible by setting img:pull as a dependency of the job, but I haven't tried it.
img:pull
I haven't tried it as a dependency, I'll check it out.
I have an image definition with both
pull
andcontext
. This seems to work fine so long as I usedobi img:pull
ordobi img:build
on the CLI.However having a job with
use: img
always builds. I want to pull the image for the jobs and use the build configuration on CI to build the image.Currently it seems I have to include two image resources. This is not ideal as the tags/names etc. need to be duplicated.