Add .gitea/gitea-ci.yaml

This commit is contained in:
Alan Moon 2025-03-08 01:05:27 -08:00
parent 290ff9c577
commit c8217950da

16
.gitea/gitea-ci.yaml Normal file
View File

@ -0,0 +1,16 @@
name: Build And Publish Docker Container
run-name: ${{ gitea.actor }} is runs ci pipeline
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: https://github.com/actions/checkout@v4
- name: Setup .NET 6
uses: https://github.com/actions/setup-dotnet@v4
with:
dotnet-version: '6.x'
- run: dotnet restore ./src/sodoff.csproj
- run: dotnet build --configuration Release ./src/sodoff.csproj
- run: dotnet publish ./src/sodoff.csproj