cuddle-rust-service-plan/scripts/run_release.sh
2022-08-11 01:05:47 +02:00

16 lines
196 B
Bash

#!/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"