Skip to content

Commit

Permalink
Fix Dockerfile, new project name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamer025 committed Oct 16, 2021
1 parent bc943cb commit a1ed5c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ FROM mcr.microsoft.com/dotnet/sdk:5.0 as build-env

# Copy everything and publish the release (publish implicitly restores and builds)
COPY . ./
RUN dotnet publish ./CodeOwnersNotifier/CodeOwnersNotifier.csproj -c Release -o out --no-self-contained
RUN dotnet publish ./CodeOwnersParser/CodeOwnersParser.csproj -c Release -o out --no-self-contained

# Label the container
LABEL maintainer="Gamer025 <[email protected]>"
LABEL repository="https://github.com/Gamer025/CodeOwnerNotifier"
LABEL homepage="https://github.com/Gamer025/CodeOwnerNotifier"
LABEL repository="https://github.com/Gamer025/CodeOwnerParser"
LABEL homepage="https://github.com/Gamer025/CodeOwnerParser"

# Label as GitHub action
LABEL com.github.actions.name="CodeOwnersNotifer"
LABEL com.github.actions.name="CodeOwnersParser"
# Limit to 160 characters
LABEL com.github.actions.description="Github action for notifying codeowners about changes, even if they aren't part of the repo."
LABEL com.github.actions.description="Github action for parsing codeowners. Output can be used to notify them via comments etc."
# See branding:
# https://docs.github.com/actions/creating-actions/metadata-syntax-for-github-actions#branding
LABEL com.github.actions.icon="bell"
Expand All @@ -22,4 +22,4 @@ LABEL com.github.actions.color="white"
# Relayer the .NET SDK, anew with the build output
FROM mcr.microsoft.com/dotnet/runtime:5.0
COPY --from=build-env /out .
ENTRYPOINT ["dotnet", "/CodeOwnersNotifier.dll"]
ENTRYPOINT ["dotnet", "/CodeOwnersParser.dll"]

0 comments on commit a1ed5c8

Please sign in to comment.