initial commit
This commit is contained in:
9
dotnet/Dockerfile
Normal file
9
dotnet/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0
|
||||
|
||||
# https://github.com/dotnet-script/dotnet-script
|
||||
#RUN dotnet tool install dotnet-script --tool-path /usr/bin
|
||||
|
||||
COPY ./startup.sh /startup.sh
|
||||
RUN chmod +x /startup.sh
|
||||
|
||||
ENTRYPOINT [ "/startup.sh" ]
|
||||
11
dotnet/action.yaml
Normal file
11
dotnet/action.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
name: "dotnet"
|
||||
description: "Runs the specified dotnet command."
|
||||
inputs:
|
||||
command:
|
||||
description: "The command to run."
|
||||
required: false
|
||||
runs:
|
||||
using: docker
|
||||
image: Dockerfile
|
||||
args:
|
||||
- ${{ inputs.command }}
|
||||
2
dotnet/startup.sh
Normal file
2
dotnet/startup.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
dotnet $@
|
||||
Reference in New Issue
Block a user