18 lines
297 B
Bash
Executable File
18 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "building docker image"
|
|
|
|
tag="$REGISTRY/$NAME:$COMMIT_SHA"
|
|
|
|
if [[ -n $DEBUG ]]
|
|
then
|
|
echo "debug:"
|
|
echo " REGISTRY: $REGISTRY"
|
|
echo " NAME: $NAME"
|
|
echo " tag: $tag"
|
|
echo " pwd: $PWD"
|
|
echo " cwd: $CWD"
|
|
fi
|
|
|
|
docker build -t "$tag" "$TMP/build_release.Dockerfile" .
|