ceph.git's build.sh does not handle authentication in its latest
version, but assumes it's been done. Add the authentication
step (podman login) here, in setup_rpm, with the side benefit
that it'll fail faster if the credentials are incorrect.
Signed-off-by: Dan Mick <dmick@redhat.com>
setup_rpm_build_deps
+if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && "$RELEASE" =~ 8|9 ]] ; then
+ podman login -u $CONTAINER_REPO_USERNAME -p $CONTAINER_REPO_PASSWORD $CONTAINER_REPO_HOSTNAME/$CONTAINER_REPO_ORGANIZATION
+fi
+
cd $WORKSPACE
pkgs=( "chacractl>=0.0.21" )