The issue for Container has been fixed but it still persists for Image.
➜ balena version
I made some changes in the code and pushed the code locally using
balena push <ip-address> and then I got this result:
root@mydevice:~# balena images
REPOSITORY TAG IMAGE ID CREATED SIZE
local_image latest d657a18e06c0 About a minute ago 259MB
<none> <none> b9538be2fb0b 17 hours ago 259MB
balena/armv7hf-supervisor v9.0.1 835f656b8cea 5 months ago 53.5MB
root@mydevice:~# balena ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
69a1a67f17f9 d657a18e06c0 "/usr/bin/entry.sh /…" 3 minutes ago Restarting (0) 36 seconds ago local_image_1.1
d2014593293e balena/armv7hf-supervisor:v9.0.1 "./entry.sh" 19 years ago Up 8 minutes (healthy) resin_supervisor
According to my understanding, it should destroy the old image when it created a new image.