File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ARG REVIVE_VERSION=v1.4.0
5
5
6
6
ENV CGO_ENABLED=0
7
7
8
- RUN go install -v -ldflags="-X 'main .version=${REVIVE_VERSION}'" \
8
+ RUN go install -v -ldflags="-X 'github.com/mgechev/revive/cli .version=${REVIVE_VERSION}'" \
9
9
github.com/mgechev/revive@${REVIVE_VERSION}
10
10
11
11
WORKDIR /tmp/github.com/morphy2k/revive-action
@@ -17,10 +17,14 @@ FROM alpine:3.20.3
17
17
18
18
LABEL repository="https://github.com/morphy2k/revive-action"
19
19
LABEL homepage="https://github.com/morphy2k/revive-action"
20
- LABEL maintainer=
"Markus Wiegand <[email protected] >"
20
+ LABEL maintainer=
"Markus Wiegand <[email protected] >"
21
+
22
+ LABEL org.opencontainers.image.source = "https://github.com/morphy2k/revive-action"
23
+ LABEL org.opencontainers.image.description="GitHub Action that runs Revive on your Go code"
24
+ LABEL org.opencontainers.image.licenses=MIT
21
25
22
26
LABEL com.github.actions.name="Revive Action"
23
- LABEL com.github.actions.description="Lint your Go code with Revive "
27
+ LABEL com.github.actions.description="GitHub Action that runs Revive on your Go code"
24
28
LABEL com.github.actions.icon="code"
25
29
LABEL com.github.actions.color="blue"
26
30
You can’t perform that action at this time.
0 commit comments