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

Publishing a package to a local Octopus instance with GitHub Actions

Blog post from Octopus Deploy

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

In the blog post, Shawn Sesna explains how to publish a package to a local instance of Octopus Deploy using a self-hosted GitHub Actions Runner, extending on a previous post by Ryan Rousseau. He describes GitHub Actions as a build server using YAML to define workflows, illustrating the process with an example workflow for building and pushing a .NET Core application to Octopus Deploy. Sesna discusses the limitations of GitHub-Hosted runners in accessing on-premises resources and introduces locally hosted runners as a solution, which operate by reaching out to GitHub Actions. He outlines the simple setup process for a local runner, including configuration in the GitHub repository settings, and explains how to modify the workflow YAML file to utilize the local runner. This approach enables the deployment of packages to a local Octopus Deploy instance and can be adapted for other build servers like TeamCity, Jenkins, or Azure DevOps.