riscv-docker/golang/manifest.sh

12 lines
343 B
Bash
Raw Normal View History

2023-07-30 19:16:16 +00:00
#!/bin/bash
tag="$1"
tag="${tag:=latest}"
2023-07-30 19:25:21 +00:00
docker login gitea.elara.ws
docker manifest create "gitea.elara.ws/elara6331/golang:$tag" \
2023-07-30 19:16:16 +00:00
--amend gitea.elara.ws/elara6331/golang:amd64 \
--amend gitea.elara.ws/elara6331/golang:arm64 \
--amend gitea.elara.ws/elara6331/golang:riscv64
docker manifest push "gitea.elara.ws/elara6331/golang:$tag"