variant-inc/Lazy Action Dotnet

Github Action to perform build, test , scan and generate Image for Dotnet ## Permissions Add the following permissions to the job ```yaml permissions: id-token: write contents: read ``` ## Usage ```yaml - name: Actions Dotnet uses: variant-inc/actions-dotnet@v2 with: ecr_repository: 'demo/example' dotnet-version: '6.0.x' ``` ## Locating Packages Dotnet Packages are located within the NuGet registry here. ```text https://github.com/orgs/<organization>/packages?ecosystem=all ``` ## Using Packages To use a package, follow these instructions below. First authenticate to GitHub Packages, change the .csproj file to match the package, and then use the dotnet restore command. ```text Following these instructions https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry#installing-a-package ``` ## Locating Container Images ECR containers can be located with this URI. ```text 064859874041.dkr.ecr.us-east-2.amazonaws.com/<ecr_repository> ```

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
cloud_regionRegion where the image will be created.nous-east-2
dockerfile_dir_pathDirectory path to the dockerfileno.
dotnet-versionThe dotnet-version input is optional. The default version of Dotnet in PATH varies between runners and can be changed unexpectedly so we recommend always setting Dotnet version explicitly using the dotnet-version input.no
ecr_repositoryECR repository nameno
nuget-versionNuget versionnolatest
nuget_push_enabledEnabled Nuget Push to Package Registry.nofalse

no outputs