This is the build script help message as of Registry version 4.4.0:

$ ./container/build.sh --help
NAME
    ./container/build.sh - build COmanage Registry container images

SYNOPSIS
    ./container/build.sh -s|--suffix=SUFFIX [OPTION]... PRODUCT

DESCRIPTION
    Build COmanage Registry container images.

    PRODUCT is one of 
        registry AUTHENTICATION
        cron
        slapd

    where AUTHENTICATION is one of
        basic-auth
        shibboleth-sp-supervisor
        mod_auth_openidc
        all

    The full name of the built images has the format

    IMAGE_REGISTRY/REPOSITORY/NAME:TAG

    When PRODUCT is registry NAME has the format

    comanage-registry

    and TAG has the format

    LABEL-AUTHENTICATION-SUFFIX

    If not specified LABEL is determined by inspecting
    the source tree and has the format

    GITHUB_TAG|GITHUB_BRANCH-COMMIT

    -h, --help
            show this usage message

    --build-arg
            pass build argument to docker build      

    --image_registry
            image registry, default is none

    -l, --label
            label to use in image tag, default is determined
            by inspecting the source tree and has the format
            GITHUB_TAG for source tree tags or
            GITHUB_BRANCH-COMMIT when building from a branch

    --no-cache
            passed to docker build if present

    -o,--owner
            synonym for repository

    --repository
            image repository, default is none,
            required if image_registry is specified

    --rm
            passed to docker build if present

    -s, --suffix
            required image tag suffix

EXAMPLES
    ./container/build.sh -s 1 registry all
        Build all Registry images with tag suffix 1

    ./container/build.sh --suffix=2022-05-01 registry shibboleth-sp-supervisor
        Build Registry image with Shibboleth SP authentication
        and the tag suffix 2022-05-01. The Python Supervisor
        system is used to start Apache HTTP Server and the
        Shibboleth SP shibd daemon.

    ./container/build.sh -s 1 --repository=myorg registry basic-auth
        Build Registry image with basic authentication,
        repository myorg, and tag suffix 1. The full name of
        the image will have the format
        myorg/comanage-registry:LABEL-basic-auth-1

    ./container/build.sh -s 1 --image_registry=server.my.org --repository=myorg
            registry basic-auth
        Build Registry image with basic authentication,
        repository myorg, image registry server.my.org, and tag suffix 1.
        The full name of the image will have the format
        my.server.org/myorg/comanage-registry:LABEL-basic-auth-1

    ./container/build.sh --suffix=mytag --no-cache registry mod_auth_openidc
        Build Registry image with OIDC authentication and tag suffix
        mytag and pass --no-cache to the docker build command

    ./container/build.sh -s 20220501 --label mylabel registry shibboleth-sp-supervisor
        Build Registry image with Shibboleth SP authentication, tag
        suffix 20220501, and label mylabel. The full name of the image
        will have the format
        comanage-registry:mylabel-shibboleth-sp-supervisor-20220501
  • No labels