16 lines
196 B
Bash
Executable File
16 lines
196 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "prebuiliding docker image"
|
|
|
|
cuddle_cli x build_release
|
|
|
|
echo "running docker image"
|
|
|
|
tag="$REGISTRY/$NAME:$COMMIT_SHA"
|
|
|
|
docker run --rm "$tag" -d
|
|
|
|
sleep 10s
|
|
|
|
docker stop "$tag"
|