Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
morphy2k committed Oct 11, 2024
1 parent e621e07 commit b68e844
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 <mail@morphy2k.dev>"
LABEL maintainer="Markus Wiegand <mail@morphy.dev>"

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"

Expand Down

0 comments on commit b68e844

Please sign in to comment.