From 094ad8f6a854d651a69ebbd69d9cd9c6452a5725 Mon Sep 17 00:00:00 2001 From: tickstep Date: Wed, 5 Jan 2022 22:23:12 +0800 Subject: [PATCH] remove latest docker tag for docker build script --- docker_build.sh | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/docker_build.sh b/docker_build.sh index 676222f..8b14d15 100755 --- a/docker_build.sh +++ b/docker_build.sh @@ -109,13 +109,6 @@ $docker_image_name:$version-arm64 \ $docker_image_name:$version-armv7 \ $docker_image_name:$version-armv5 \ --amend -docker manifest create $docker_image_name:latest \ -$docker_image_name:$version-amd64 \ -$docker_image_name:$version-386 \ -$docker_image_name:$version-arm64 \ -$docker_image_name:$version-armv7 \ -$docker_image_name:$version-armv5 \ ---amend echo "annotate manifest for amd64 image" @@ -124,11 +117,6 @@ docker manifest annotate \ --os=linux \ $docker_image_name:$version \ $docker_image_name:$version-amd64 -docker manifest annotate \ ---arch=amd64 \ ---os=linux \ -$docker_image_name:latest \ -$docker_image_name:$version-amd64 echo "annotate manifest for 386 image" docker manifest annotate \ @@ -136,11 +124,6 @@ docker manifest annotate \ --os=linux \ $docker_image_name:$version \ $docker_image_name:$version-386 -docker manifest annotate \ ---arch=386 \ ---os=linux \ -$docker_image_name:latest \ -$docker_image_name:$version-386 echo "annotate manifest for arm64 image" docker manifest annotate \ @@ -149,13 +132,6 @@ docker manifest annotate \ --variant=v8 \ $docker_image_name:$version \ $docker_image_name:$version-arm64 -docker manifest annotate \ ---arch=arm64 \ ---os=linux \ ---variant=v8 \ -$docker_image_name:latest \ -$docker_image_name:$version-arm64 - echo "annotate manifest for armv7 image" docker manifest annotate \ @@ -164,12 +140,6 @@ docker manifest annotate \ --variant=v7 \ $docker_image_name:$version \ $docker_image_name:$version-armv7 -docker manifest annotate \ ---arch=arm \ ---os=linux \ ---variant=v7 \ -$docker_image_name:latest \ -$docker_image_name:$version-armv7 echo "annotate manifest for armv5 image" docker manifest annotate \ @@ -178,16 +148,9 @@ docker manifest annotate \ --variant=v6 \ $docker_image_name:$version \ $docker_image_name:$version-armv5 -docker manifest annotate \ ---arch=arm \ ---os=linux \ ---variant=v6 \ -$docker_image_name:latest \ -$docker_image_name:$version-armv5 echo "push manifest to docker hub" docker manifest push $docker_image_name:$version -docker manifest push $docker_image_name:latest echo "clear local docker image" docker rmi $docker_image_name:$version-amd64