aboutsummaryrefslogtreecommitdiff
path: root/trusty-amd64-tcwg/build.sh
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-12-19 00:15:14 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2016-12-19 00:15:14 +0200
commit83df504b35b0b0ea7867fb0ec86b5e8ff3d7a87c (patch)
tree82fb02f2469cb991d712979d8a537b007c026594 /trusty-amd64-tcwg/build.sh
parent493f582a3503c8e4dcebbbd39c31533efc897d0d (diff)
{trusty,xenial}-amd64-tcwg: adjust tag name
Change-Id: I5ac980441648f264d97d68530e78a68662d499d5 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'trusty-amd64-tcwg/build.sh')
-rwxr-xr-xtrusty-amd64-tcwg/build.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/trusty-amd64-tcwg/build.sh b/trusty-amd64-tcwg/build.sh
index 5a74c33..738c4cd 100755
--- a/trusty-amd64-tcwg/build.sh
+++ b/trusty-amd64-tcwg/build.sh
@@ -10,7 +10,10 @@ cleanup_exit()
}
export LANG=C
+distro=$(basename ${PWD} | cut -f1 -d '-')
+arch=$(basename ${PWD} | cut -f2 -d '-')
+name=$(basename ${PWD} | cut -f3- -d '-')
rsync -a ../tcwg-buildslave/ ./tcwg-buildslave/
-docker build --pull --tag=linaro/$(basename ${PWD}) .
+docker build --pull --tag=linaro/ci-${arch}-${name}-ubuntu:${distro} .