mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 14:32:14 +08:00
remove latest docker tag for docker build script
This commit is contained in:
parent
ddc8de2c17
commit
094ad8f6a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user