Skip to content

Commit b68e844

Browse files
committed
update dockerfile
1 parent e621e07 commit b68e844

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile

+7-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG REVIVE_VERSION=v1.4.0
55

66
ENV CGO_ENABLED=0
77

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}'" \
99
github.com/mgechev/revive@${REVIVE_VERSION}
1010

1111
WORKDIR /tmp/github.com/morphy2k/revive-action
@@ -17,10 +17,14 @@ FROM alpine:3.20.3
1717

1818
LABEL repository="https://github.com/morphy2k/revive-action"
1919
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
2125

2226
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"
2428
LABEL com.github.actions.icon="code"
2529
LABEL com.github.actions.color="blue"
2630

0 commit comments

Comments
 (0)