-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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"] |