Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Configuring a GitHub NuGet registry as an external feed

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Shawn Sesna
Word Count
752
Language
English
Hacker News Points
-
Summary

GitHub has evolved beyond a mere source code repository by offering features like GitHub Actions for build automation and GitHub Packages, a registry compatible with various package types such as Docker containers and NuGet packages. The article details the process of configuring a GitHub Actions job to push a .NET Core NuGet package to the GitHub Packages registry and integrate it with Octopus Deploy as an external feed. The process involves specifying the RepositoryUrl element in the .csproj file, using the dotnet CLI for packing and pushing packages, and setting up necessary credentials with a Personal Access Token or GITHUB_TOKEN. Additionally, it explains how to create an external feed in Octopus Deploy by generating a PAT with specific permissions and testing the feed's functionality. The guide concludes with a reference to another post that discusses using GitLab feeds with Octopus Deploy.