-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
7 additions
and
3 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ ARG REVIVE_VERSION=v1.4.0 | |
|
||
ENV CGO_ENABLED=0 | ||
|
||
RUN go install -v -ldflags="-X 'main.version=${REVIVE_VERSION}'" \ | ||
RUN go install -v -ldflags="-X 'github.com/mgechev/revive/cli.version=${REVIVE_VERSION}'" \ | ||
github.com/mgechev/revive@${REVIVE_VERSION} | ||
|
||
WORKDIR /tmp/github.com/morphy2k/revive-action | ||
|
@@ -17,10 +17,14 @@ FROM alpine:3.20.3 | |
|
||
LABEL repository="https://github.com/morphy2k/revive-action" | ||
LABEL homepage="https://github.com/morphy2k/revive-action" | ||
LABEL maintainer="Markus Wiegand <[email protected]>" | ||
LABEL maintainer="Markus Wiegand <[email protected]>" | ||
|
||
LABEL org.opencontainers.image.source = "https://github.com/morphy2k/revive-action" | ||
LABEL org.opencontainers.image.description="GitHub Action that runs Revive on your Go code" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
LABEL com.github.actions.name="Revive Action" | ||
LABEL com.github.actions.description="Lint your Go code with Revive" | ||
LABEL com.github.actions.description="GitHub Action that runs Revive on your Go code" | ||
LABEL com.github.actions.icon="code" | ||
LABEL com.github.actions.color="blue" | ||
|
||
|