diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2017-04-12 15:40:32 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2017-04-13 15:19:39 +0300 |
commit | 3f87d0a8f5b56eb260e042486f5123ce2aef47da (patch) | |
tree | bc3472e0ec7d987639137f6e51341425060eb4ef /stretch-amd64 | |
parent | 6852d6925b4ce1c66f228af0327a1f8bc6ea4618 (diff) |
All: store .docker-tag after build
After successful build, store the tag to be pushed to
the repos. This is more safer than looking at docker
images list after build.
Change-Id: Ieef7ee56603d6df75b4f696fcfa2161a04255220
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'stretch-amd64')
-rwxr-xr-x | stretch-amd64/build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stretch-amd64/build.sh b/stretch-amd64/build.sh index 34f8f996..fd5db711 100755 --- a/stretch-amd64/build.sh +++ b/stretch-amd64/build.sh @@ -19,4 +19,6 @@ sed -e "s|@DISTRIBUTION@|${DISTRIBUTION}|" -i *.list # fixup - get rid of PPA usage rm -f linaro-*ppa.* -docker build --pull --tag=linaro/$(basename ${PWD}) . +image=linaro/$(basename ${PWD}) +docker build --pull --tag=linaro/$image . +echo $image > .docker-tag |