Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Sep 29, 2023
1 parent 65b02a4 commit 1897055
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} ..."
Expand All @@ -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
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1897055

Please sign in to comment.