Golang项目的蓝图/样板
博客文章-有关此仓库的更多信息
您可以在以下博客文章中找到有关此项目/存储库以及如何使用它的更多信息:
配置
用您的用户名存储库名称替换所有出现的martinheinz/go-project-blueprint
将所有出现的blueprint替换为所需的图像名称
添加新的库/依赖项
go mod vendor
使用GitHub注册表
创建并推送:
docker login docker.pkg.github.com -u -p
docker build -t docker.pkg.github.com/martinheinz/go-project-blueprint/blueprint:latest .
# make container
docker push docker.pkg.github.com/martinheinz/go-project-blueprint/blueprint:latest
# make push
拉动:
docker pull docker.pkg.gith
1