diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index f623f0c..1638115 100755 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -48,6 +48,8 @@ do_build() { if [[ ${PUSH} == "true" ]] ; then args="--push "${args} + else + args="--load "${args} fi echo "CONTAINER BUILD FOR ${image_name} with ARCHITECTURE=${ARCHITECTURE} ..." @@ -72,3 +74,7 @@ do_build() { do_build ${ARCH} developer ${cachefrom} do_build ${ARCH} runtime ${cachefrom} ${cacheto} + +docker run --entrypoint bash ${image_name} -c \ + 'ibek ioc generate-schema /epics/links/ibek/*ibek.support.yaml' > \ + ${PROJECT#ioc-}.ibek.ioc.schema.json diff --git a/build b/build index 6c4a894..09ef815 100755 --- a/build +++ b/build @@ -25,6 +25,6 @@ done # get the schema file from the developer container and save it locally # it is called xxxxx.ioc.ibek.schema.json for project ioc-xxxxx -podman run ghcr.io/epics-containers/ioc-adaravis-linux-developer:local bash -c \ +podman run --entrypoint bash ${TAG} -c \ 'ibek ioc generate-schema /epics/links/ibek/*ibek.support.yaml' > \ ${PROJECT#ioc-}.ibek.ioc.schema.json