From 0b9af7e6b27d73888821e07d0ddd1e2c0386571d Mon Sep 17 00:00:00 2001 From: butomo1989 Date: Tue, 30 May 2017 16:28:28 +0200 Subject: [PATCH] Using git tag for same docker images --- release.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/release.sh b/release.sh index c40e75e..cf812f8 100755 --- a/release.sh +++ b/release.sh @@ -130,9 +130,7 @@ function build() { docker build -t $image_version --build-arg ANDROID_VERSION=$v --build-arg BUILD_TOOL=$LATEST_BUILD_TOOL \ --build-arg API_LEVEL=$level --build-arg PROCESSOR=$p --build-arg SYS_IMG=$sys_img \ --build-arg IMG_TYPE=$IMG_TYPE --build-arg BROWSER=$BROWSER -f $FILE_NAME . - docker build -t $image_latest --build-arg ANDROID_VERSION=$v --build-arg BUILD_TOOL=$LATEST_BUILD_TOOL \ - --build-arg API_LEVEL=$level --build-arg PROCESSOR=$p --build-arg SYS_IMG=$sys_img \ - --build-arg IMG_TYPE=$IMG_TYPE --build-arg BROWSER=$BROWSER -f $FILE_NAME . + docker tag $image_version $image_latest done done }