16 lines
196 B
Bash
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"
|