Make it possible to change the tag under which a manifest is published
This commit is contained in:
parent
968bee5406
commit
53d072132f
@ -1,8 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
tag="$1"
|
||||
tag="${tag:=latest}"
|
||||
|
||||
docker login gitea.elara.ws
|
||||
docker manifest create gitea.elara.ws/elara6331/golang:latest \
|
||||
docker manifest create "gitea.elara.ws/elara6331/golang:$tag" \
|
||||
--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:latest
|
||||
docker manifest push "gitea.elara.ws/elara6331/golang:$tag"
|
||||
|
Loading…
Reference in New Issue
Block a user