- https://www.flowdock.com/app/rulemotion/r-resinos/threads/zv366eTa8wNZmC7IrUZB52JUwt7
- https://resinio.testlodge.com/projects/16238/runs/579754?tab=2#executed_case_23888354
- https://resinio.testlodge.com/projects/16238/suites/140935?expand_section=241935#case_2870775
- https://hub.docker.com/r/resin/resinos/tags?page=1&ordering=last_updated
- https://hub.docker.com/r/resin/resinos-staging/tags?page=1&ordering=last_updated
# self-publish an image compiled in workspace
MACHINE=raspberrypi3
SHA256=$(docker load -q -i build/tmp/deploy/images/$MACHINE/balena-image-$MACHINE.docker | awk '{print $4}')
# self-publish an image download from Jenkins
MACHINE=raspberrypi3
SHA256=$(docker load -q -i ~/Downloads/balena-image.docker | awk '{print $4}')
# tag and push
docker tag $SHA256 klutchell/balenaos:$MACHINE
docker push klutchell/balenaos:$MACHINE
hostapp-update -r -i klutchell/balenaos:$(jq -r '.deviceType' < /mnt/boot/config.json)
# update to production image
hostapp-update -r -i resin/resinos:2.52.7_rev1.dev-skx2
# update to staging image
hostapp-update -r -i resin/resinos-staging:2.52.7_rev1.dev-skx2