dotnet-gha-publish

Automate .NET artifact publishing from GitHub Actions with conditional triggers.

10|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/AGIBuild/Agibuild.Fulora --skill dotnet-gha-publish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-gha-publish
Source: https://github.com/AGIBuild/Agibuild.Fulora/tree/main/.cursor/skills/dotnet-gha-publish
Command: npx skills add https://github.com/AGIBuild/Agibuild.Fulora --skill dotnet-gha-publish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of publishing .NET artifacts, including NuGet packages, container images, and signed binaries, directly from GitHub Actions workflows.

Core Features & Use Cases

  • NuGet Publishing: Push packages to nuget.org and GitHub Packages, with options for stable and pre-release versions.
  • Container Image Deployment: Build and push Docker images to registries like GHCR, DockerHub, and ACR, supporting both Dockerfile-based and SDK container publish methods.
  • Artifact Signing & SBOM: Secure your releases with NuGet package signing and generate Software Bills of Materials (SBOM) for supply chain transparency.
  • Conditional Logic: Trigger publishing based on Git tags or GitHub Release events.
  • Use Case: Automatically publish a new version of your .NET library to nuget.org and a container image to GHCR whenever a Git tag matching v*.*.* is pushed.

Quick Start

Use the dotnet-gha-publish skill to publish a NuGet package to nuget.org when a tag starting with 'v' is pushed.

Frequently Asked Questions about dotnet-gha-publish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish a NuGet package from GitHub Actions automatically?

To publish a NuGet package from GitHub Actions, you can automate the process by triggering workflows on Git tags or GitHub Releases, using actions/setup-dotnet to push packages to nuget.org or GitHub Packages with stable and pre-release options.

How do I push a .NET Docker image to GHCR or DockerHub using GitHub Actions?

Pushing a .NET Docker image to GHCR or DockerHub from GitHub Actions involves using docker/build-push-action to build and deploy container images, supporting both Dockerfile-based and SDK container publish methods across registries like GHCR, DockerHub, and ACR.

Can I generate an SBOM and sign .NET artifacts in a GitHub Actions workflow?

Yes, you can generate an SBOM and sign .NET artifacts in a GitHub Actions workflow by leveraging NuGet package signing and sigstore/cosign, which secures releases and provides Software Bills of Materials for supply chain transparency.

What is the best way to trigger conditional publishing for .NET releases in GitHub Actions?

The best way to trigger conditional publishing for .NET releases in GitHub Actions is by configuring workflows to activate on Git tags matching patterns like v*.*.* or GitHub Release events, ensuring artifacts are published only when intended.

Does this GitHub Actions publishing workflow support both nuget.org and GitHub Packages simultaneously?

Yes, the GitHub Actions publishing workflow supports pushing NuGet packages to both nuget.org and GitHub Packages simultaneously, allowing you to distribute stable and pre-release versions across different registries in a single workflow run.

Why do I need to use cosign when publishing .NET container images from GitHub Actions?

You need to use cosign when publishing .NET container images from GitHub Actions to sign the artifacts and ensure supply chain security, providing verifiable provenance and generating an SBOM for the distributed images.