From: John Mulligan Date: Thu, 10 Jul 2025 13:51:10 +0000 (-0400) Subject: container: pass CUSTOM_CEPH_REPO_URL thru container build script X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F64976%2Fhead;p=ceph.git container: pass CUSTOM_CEPH_REPO_URL thru container build script Update the build.sh script such that the environment variable CUSTOM_CEPH_REPO_URL is passed to the container build command as a build argument. This allows a developer or system outside of the ceph CI to build container images similar to those produced by the CI but using custom RPM packages. Signed-off-by: John Mulligan --- diff --git a/container/build.sh b/container/build.sh index ca0a5604d82b..4f7a34a91319 100755 --- a/container/build.sh +++ b/container/build.sh @@ -120,8 +120,9 @@ podman build --pull=newer --squash -f $CFILE -t build.sh.output \ --build-arg CEPH_REF=${BRANCH:-main} \ --build-arg OSD_FLAVOR=${FLAVOR:-default} \ --build-arg CI_CONTAINER=${CI_CONTAINER:-default} \ + --build-arg CUSTOM_CEPH_REPO_URL="${CUSTOM_CEPH_REPO_URL}" \ --secret=id=prerelease_creds,src=./prerelease.secret.txt \ - 2>&1 + 2>&1 rm ./prerelease.secret.txt