Skip to content

feat(ci/cd): Add Docker build & publish workflows with GHCR and private NuGet support #11

feat(ci/cd): Add Docker build & publish workflows with GHCR and private NuGet support

feat(ci/cd): Add Docker build & publish workflows with GHCR and private NuGet support #11

Workflow file for this run

name: .NET
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore --configfile nuget.config
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal