cuddle-rust-service-plan/scripts/run_release.sh

16 lines
196 B
Bash
Raw Normal View History

2022-08-11 01:05:47 +02:00
#!/bin/bash
echo "prebuiliding docker image"
. scripts/build_release.sh
echo "running docker image"
tag="$REGISTRY/$NAME:$COMMIT_SHA"
docker run --rm "$tag" -d
sleep 10s
docker stop "$tag"