Version v0.1.0-r3
This commit is contained in:
parent
354a8fe93f
commit
2ff2ce8044
1 changed files with 12 additions and 12 deletions
|
@ -34,7 +34,7 @@ function build_image() {
|
|||
--pull \
|
||||
--build-arg TAG=$tag \
|
||||
--build-arg ARCH_REPO=$arch \
|
||||
-t $repo:$arch-$tag \
|
||||
-t asonix/$repo:$arch-$tag \
|
||||
-f Dockerfile \
|
||||
.
|
||||
|
||||
|
@ -63,29 +63,29 @@ function push_manifest() {
|
|||
repo=$1
|
||||
tag=$2
|
||||
|
||||
sudo docker manifest create asonix/$REPO:$TAG \
|
||||
-a asonix/$REPO:arm64v8-$TAG \
|
||||
-a asonix/$REPO:arm32v7-$TAG \
|
||||
-a asonix/$REPO:amd64-$TAG
|
||||
sudo docker manifest create asonix/$repo:$tag \
|
||||
-a asonix/$repo:arm64v8-$tag \
|
||||
-a asonix/$repo:arm32v7-$tag \
|
||||
-a asonix/$repo:amd64-$tag
|
||||
|
||||
sudo docker manifest annotate asonix/$REPO:$TAG \
|
||||
asonix/$REPO:arm64v8-$TAG \
|
||||
sudo docker manifest annotate asonix/$repo:$tag \
|
||||
asonix/$repo:arm64v8-$tag \
|
||||
--os linux \
|
||||
--arch arm64 \
|
||||
--variant v8
|
||||
|
||||
sudo docker manifest annotate asonix/$REPO:$TAG \
|
||||
asonix/$REPO:arm32v7-$TAG \
|
||||
sudo docker manifest annotate asonix/$repo:$tag \
|
||||
asonix/$repo:arm32v7-$tag \
|
||||
--os linux \
|
||||
--arch arm \
|
||||
--variant v7
|
||||
|
||||
sudo docker manifest annotate asonix/$REPO:$TAG \
|
||||
asonix/$REPO:amd64-$TAG \
|
||||
sudo docker manifest annotate asonix/$repo:$tag \
|
||||
asonix/$repo:amd64-$tag \
|
||||
--os linux \
|
||||
--arch amd64
|
||||
|
||||
sudo docker manifest push asonix/$REPO:$TAG --purge
|
||||
sudo docker manifest push asonix/$repo:$tag --purge
|
||||
}
|
||||
|
||||
# Creating the new tag
|
||||
|
|
Loading…
Reference in a new issue