From 1897055406ec92dc24a8a9357bc0a833d58af345 Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Fri, 29 Sep 2023 17:51:43 +0100 Subject: [PATCH] fix CI --- .github/workflows/build.sh | 6 ++++++ build | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index f623f0c..6f5932e 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} + +podman run ${image_name} bash -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..e47e91f 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 ${TAG} bash -c \ 'ibek ioc generate-schema /epics/links/ibek/*ibek.support.yaml' > \ ${PROJECT#ioc-}.ibek.ioc.schema.json