Skip to content

Commit

Permalink
In oio.sh 'medley pulldev' command, delete old dev image. Supports au…
Browse files Browse the repository at this point in the history
…tomated builds
  • Loading branch information
fghalasz committed Jun 7, 2024
1 parent 630f18c commit 19eec1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions system/oio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,13 @@ case $1 in


IpulldevI)
olddev=$(docker images -q ghcr.io/interlisp/online-medley:development)
docker pull ghcr.io/interlisp/online-medley:development
newdev=$(docker images -q ghcr.io/interlisp/online-medley:development)
if [ -n "${olddev}" ] && [ "${olddev}" != "${newdev}" ]
then
docker image rm ${olddev}
fi
echo "Online-medley development release pulled from Github Container Registry"
;;

Expand Down

0 comments on commit 19eec1f

Please sign in to comment.