From ffabf23cccc82fabd4b6b5d2ff90221d6396c251 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Thu, 10 Jul 2025 09:51:10 -0400 Subject: [PATCH] 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 --- container/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3