For whatever reason, line-breaks must be used regardless of
string-block marker `|` or `>-`. Fix this.
Also, support a fork/pull/MR model allowing contributors to run
pipelines on their fork w/ push to their registry. In this case, images
should be tagged by MR number to be helpful.
Signed-off-by: Chris Evich <chris_gitlab@icuc.me>
Prevent any possiblilty of confusion for tags (prefixed with a `v`) vs MR tags
(previously no prefix).
Signed-off-by: Chris Evich <chris_gitlab@icuc.me>
When given the "run" argument, in addition to launching `podman system
service` in the background, also start a small periodic maintenance
script. It's only job is to clean up stale images, containers, and
volumes from old jobs. Currently hard-coded to trigger every 2 days,
this could be tweaked via build-args or env. var.
Signed-off-by: Chris Evich <cevich@redhat.com>
For tag-pipelines, tag image with the repo. tag
For MR's, tag the image with the MR number
For Branches, use the branch name except for `main` use `latest`.
Signed-off-by: Chris Evich <cevich@redhat.com>