summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2016-09-04 22:43:34 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2016-09-04 22:54:04 +0900
commitddc53c32486cc23dfa63ed4e5abb19923b8d13e6 (patch)
tree581a648481f44286bb4458a554b15979fdbd3c18
parent2c64bddc0085de94b01d00bc0e98615562f631d7 (diff)
downloadthrift-ddc53c32486cc23dfa63ed4e5abb19923b8d13e6.tar.gz
THRIFT-3907 Skip Docker image build on CI when unchanged
Add missing docker tag command for skip path.
-rwxr-xr-xbuild/docker/check_unmodified.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/docker/check_unmodified.sh b/build/docker/check_unmodified.sh
index 564e4c1ce..9d5fa2672 100755
--- a/build/docker/check_unmodified.sh
+++ b/build/docker/check_unmodified.sh
@@ -35,6 +35,7 @@ function try_pull {
if try_pull; then
echo Dockerfile seems identical. No need to rebuild from scratch.
+ docker tag thrift/thrift-build:$DISTRO thrift-build:$DISTRO
else
echo Either Dockerfile has changed or pull failure. Need to build brand new one.
exit 1