mirror of
https://github.com/netbirdio/dex.git
synced 2026-05-22 18:43:53 -07:00
Propagate Dex version from build args
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
+4
-1
@@ -29,7 +29,10 @@ RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN make release-binary
|
||||
# Propagate Dex version from build args to the build environment
|
||||
ARG VERSION
|
||||
RUN ([ "$VERSION" != "" ] || export $VERSION) && make release-binary
|
||||
|
||||
RUN xx-verify /go/bin/dex && xx-verify /go/bin/docker-entrypoint
|
||||
|
||||
FROM alpine:3.19.0 AS stager
|
||||
|
||||
Reference in New Issue
Block a user