diff --git a/.circleci/config.yml b/.circleci/config.yml index 93a4382..2be858e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -96,7 +96,8 @@ jobs: name: Build command: | mkdir images - echo 'export TAG="$CIRCLE_SHA1"' >> images/env.sh + SHA1=$(echo $CIRCLE_SHA1 | cut -c1-7) + echo 'export TAG="$SHA1"' >> images/env.sh source images/env.sh docker build --rm --force-rm -t isce/isce2:$TAG -f docker/Dockerfile . cd images