Skip to content

Commit 5cc9fdb

Browse files
authored
Add directions for using the github version of the package (#166)
1 parent ecdaf0b commit 5cc9fdb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

DEVGUIDE.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ Then, you can use `dotnet add package Microsoft.NET.Build.Containers -prerelease
1515

1616
You can also always clone this repository, run `dotnet build`, and use the newly-generated nupkg.
1717

18+
To use the package built from the CI pipeline:
19+
20+
* add the github package source to your nuget.config of choice
21+
* `dotnet nuget add source https://nuget.pkg.github.com/dotnet/index.json --name dotnet-org-github --username <your github username> --password <your github PAT with read:packages permission at minimum> --configfile <path to desired nuget config file>`
22+
* add the package to a project
23+
* `dotnet add package Microsoft.NET.Build.Containers --prerelease` (or `--version <version number>`)
24+
1825
To use your locally built packages:
1926

2027
* Add a local nuget source:
@@ -40,4 +47,4 @@ To use your locally built packages:
4047

4148
* [OCI Image Format spec](https://github.com/opencontainers/image-spec/blob/main/spec.md)
4249
* [Docker Registry API docs](https://docs.docker.com/registry/spec/api/)
43-
* [Setting up a local Docker registry](https://docs.docker.com/registry/)
50+
* [Setting up a local Docker registry](https://docs.docker.com/registry/)

0 commit comments

Comments
 (0)