Skip to content
Snippets Groups Projects
Commit 520ed329 authored by m.nabokikh's avatar m.nabokikh
Browse files

Propagate Dex version from build args

parent 5d64dc7a
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment