riscv-docker/golang/build.sh

11 lines
216 B
Bash
Raw Normal View History

2023-07-30 19:16:16 +00:00
#!/bin/bash
if [[ $# == 0 ]]; then
echo "Usage: $0 <arch>"
exit 1
fi
docker login gitea.elara.ws
2023-08-08 21:37:30 +00:00
docker build . -t "gitea.elara.ws/elara6331/golang:$1" --no-cache
2023-07-30 19:16:16 +00:00
docker push "gitea.elara.ws/elara6331/golang:$1"