Skip to content

Commit

Permalink
Add VERSION arg to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckal777 committed Sep 28, 2023
1 parent 2f77e73 commit b6bae93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang:1.21 as builder
ENV GOTOOLCHAIN=local
WORKDIR /workspace
COPY . .
RUN go mod vendor && make all
ARG VERSION
RUN go mod vendor && VERSION=${VERSION} make all

FROM gcr.io/distroless/static:nonroot
LABEL source_repository="https://github.com/sapcc/vpa_butler"
Expand Down

0 comments on commit b6bae93

Please sign in to comment.