added Action metadata

This commit is contained in:
irongut
2021-04-23 21:41:48 +01:00
parent 7382b6dff2
commit 50a9e3f40f
2 changed files with 42 additions and 0 deletions
+11
View File
@@ -11,6 +11,17 @@ RUN dotnet build CodeCoverageSummary/CodeCoverageSummary.csproj -c Release -o /a
FROM build AS publish
RUN dotnet publish CodeCoverageSummary/CodeCoverageSummary.csproj -c Release -o /app/publish
# Label the container
LABEL maintainer="Irongut <murray.dave@outlook.com>"
LABEL repository="https://github.com/irongut/CodeCoverageSummary"
LABEL homepage="https://github.com/irongut/CodeCoverageSummary"
# Label as GitHub Action
LABEL com.github.actions.name="Code Coverage Summary"
LABEL com.github.actions.description="A GitHub Action that reads Cobertura format code coverage files and outputs a summary."
LABEL com.github.actions.icon="book-open"
LABEL com.github.actions.color="purple"
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .