自建资源仓库 nexus3 目录权限
mkdir /data/nexus && chown -R 200 /data/nexus
docker stop nexus3 && docker rm nexus3
docker run -d -p 8081:8081 --name nexus3 \
-v /etc/localtime:/etc/localtime:ro \
-e TZ=Asia/Shanghai \
-h nexus_server \
--dns=114.114.114.114 \
-v /data/nexus:/nexus-data \
--network mynetwork \
sonatype/nexus3
nuget 推送或删除
在nexus中点击用户名,获取ApiKey
nuget push XScrum.Admin.Entry.1.0.1.nupkg -source https://n.circleit.cn/repository/nuget-hosted/ -ApiKey xxxx -NonInteractive
nuget delete XScrum.Admin.Entry 1.0.1 -source https://n.circleit.cn/repository/nuget-hosted/ -ApiKey xxx -NonInteractive
评论已关闭