Add support for ubi-minimal base containers

Current Situation

Currently, the releaseImage function in the release helper script allows you to specify the base container image as an option argument. If no argument is provided, UBI is assumed. Examples of each method

releaseImage alpine-certificates       # use UBI base image
releaseImage gitlab-ruby "gitlab-base"  # use gitlab-base as base image

If a name is specified, the script assumes its a gitlab built base image which would be found in the registry at gitlab/gitlab/imagename so it adds the gitlab/gitlab/ prefix to the base container name. This means you can't currently specify a non-gitlab image other than UBI.

We have requests to add containers that use ubi-minimal (e.g. kas) So we need to update the scripts to allow for that.

Proposed Solution

Update the releaseImage function in the release helper script to require all the necessary information in the function call. This will make the function call more verbose but will allow for flexibility. Function calls could look something like:

releaseImage alpine-certificates "redhat/ubi/ubi8:8.6" # use full UBI base image
releaseImage kas "redhat/ubi/ubi8-minimal:8.6" # use UBI minimal base image
releaseImage gitlab-ruby "gitlab/gitlab/gitlab-base:15.2.1" # use gitlab-base as base image
Edited by Steve Terhar