proper container id
This commit is contained in:
parent
897028f9bf
commit
7ec2518450
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "prebuiliding docker image"
|
||||
|
||||
cuddle_cli x build_release
|
||||
@ -8,8 +10,8 @@ echo "running docker image"
|
||||
|
||||
tag="$REGISTRY/$NAME:$COMMIT_SHA"
|
||||
|
||||
docker run --rm -d "$tag"
|
||||
container_id=$(docker run --rm -d "$tag")
|
||||
|
||||
sleep 10s
|
||||
sleep 5s
|
||||
|
||||
docker stop "$tag"
|
||||
docker stop "$container_id"
|
||||
|
Loading…
Reference in New Issue
Block a user