set SHA1 correctly

LT1AB
Gerald Manipon 2019-05-09 20:09:28 +00:00
parent 6a441d0e8f
commit 1f96e8cdaf
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ jobs:
command: | command: |
mkdir images mkdir images
SHA1=$(echo $CIRCLE_SHA1 | cut -c1-7) SHA1=$(echo $CIRCLE_SHA1 | cut -c1-7)
echo 'export TAG="$SHA1"' >> images/env.sh echo "export TAG=$SHA1" >> images/env.sh
source images/env.sh source images/env.sh
docker build --rm --force-rm -t isce/isce2:$TAG -f docker/Dockerfile . docker build --rm --force-rm -t isce/isce2:$TAG -f docker/Dockerfile .
cd images cd images