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