diff --git a/cleanrepo/Dockerfile b/cleanrepo.Dockerfile similarity index 82% rename from cleanrepo/Dockerfile rename to cleanrepo.Dockerfile index ac9687a..180afbf 100644 --- a/cleanrepo/Dockerfile +++ b/cleanrepo.Dockerfile @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0 as build-env # Copy everything and publish the release (publish implicitly restores and builds) WORKDIR /app COPY . ./ -RUN dotnet publish "CleanRepo.csproj" -c Release -o out --no-self-contained +RUN dotnet publish "./cleanrepo/CleanRepo.csproj" -c Release -o out --no-self-contained # Relayer the .NET SDK, anew with the build output FROM mcr.microsoft.com/dotnet/sdk:9.0 diff --git a/cleanrepo/action.yml b/cleanrepo/action.yml index 33409fa..75200ab 100644 --- a/cleanrepo/action.yml +++ b/cleanrepo/action.yml @@ -20,7 +20,7 @@ inputs: required: true runs: using: docker - image: Dockerfile + image: ../cleanrepo/Dockerfile args: - '/Options:Function' - ${{ inputs.function }}