9 lines
270 B
Bash
Executable File

#!/bin/sh
set -x
set -eu
docker build --platform linux/amd64 -t dr.zoemp.be/my-custom-app:$(cat VERSION) -f Dockerfile.cloudron .
docker push dr.zoemp.be/my-custom-app:$(cat VERSION)
cloudron update --image dr.zoemp.be/my-custom-app:$(cat VERSION) --app my-custom-app