with proper name
This commit is contained in:
parent
b1a415a6ca
commit
84b5497460
@ -2,16 +2,15 @@
|
||||
|
||||
echo "building docker image"
|
||||
|
||||
tag="$REGISTRY/$NAME:$COMMIT_SHA"
|
||||
tag="$REGISTRY/$SERVICE:$COMMIT_SHA"
|
||||
|
||||
if [[ -n $DEBUG ]]
|
||||
then
|
||||
echo "debug:"
|
||||
echo " REGISTRY: $REGISTRY"
|
||||
echo " NAME: $NAME"
|
||||
echo " tag: $tag"
|
||||
echo " pwd: $PWD"
|
||||
echo " cwd: $CWD"
|
||||
echo " SERVICE: $SERVICE"
|
||||
echo " COMMIT_SHA: $COMMIT_SHA"
|
||||
echo " TMP: $TMP"
|
||||
fi
|
||||
|
||||
docker build -t "$tag" -f "$TMP/build_release.Dockerfile" .
|
||||
|
@ -8,7 +8,7 @@ cuddle_cli x build_release
|
||||
|
||||
echo "running docker image"
|
||||
|
||||
tag="$REGISTRY/$NAME:$COMMIT_SHA"
|
||||
tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
|
||||
|
||||
container_id=$(docker run -d "$tag")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user