I want to script the container build somehow - especially if/as I'm going to need --secret
arguments now. Since I'm Windows based now (weird, huh?), I should use poweshell, I just have to be careful not to accidentally write make
by mistake.
(make
doesn't do what I actually want, which is too run a program to get the date of a target. e.g., my source folder is dated last Tuesday, what's the date on the latest image? make
wants me to touch image
as part of the build but that's not source of truth (although I don't know how to get the build date of an image anyway))
But since poweshell runs under Linux anyway, a two line ppdman build
, podman push
script isn't the end of the world. If I'm careful, I only need one copy and it can pick up the tag from the source folder.
(Ok, now I want a 'build all' version that I can run after I've updated the shared project to bump version numbers in dependent projects, build, push, and restart them.)
(That's not so "out there", right? Also, I can add "increase project version on build" code, and maybe even "bump minor" and "bump major" options)