mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Add script to update multiarch manifest
This commit is contained in:
parent
e8b7975295
commit
ed272da302
18
development/update-multiarch.sh
Executable file
18
development/update-multiarch.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
manifest="itzg/minecraft-server:multiarch"
|
||||||
|
|
||||||
|
for t in latest rpi3 aarch64; do
|
||||||
|
docker pull itzg/minecraft-server:$t
|
||||||
|
done
|
||||||
|
|
||||||
|
docker manifest create --amend ${manifest} \
|
||||||
|
itzg/minecraft-server:aarch64 \
|
||||||
|
itzg/minecraft-server:latest \
|
||||||
|
itzg/minecraft-server:rpi3
|
||||||
|
|
||||||
|
docker manifest annotate --os linux --arch amd64 ${manifest} itzg/minecraft-server:latest
|
||||||
|
docker manifest annotate --os linux --arch arm64 ${manifest} itzg/minecraft-server:aarch64
|
||||||
|
docker manifest annotate --os linux --arch arm --variant v7 ${manifest} itzg/minecraft-server:rpi3
|
||||||
|
|
||||||
|
docker manifest push ${manifest}
|
Loading…
Reference in New Issue
Block a user