mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 21:28:29 +03:00
Fix the passed in version number not being used due to an incorrect var
This commit is contained in:
parent
d28c4b96f3
commit
199e70fade
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ ENV GIT_COMMIT=${GIT_COMMIT}
|
|||
ARG NAME=docker
|
||||
ENV NAME=${NAME}
|
||||
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -ldflags "-extldflags \"-static\" -s -w -X github.com/owncast/owncast/config.GitCommit=$GIT_COMMIT -X github.com/owncast/owncast/config.BuildVersion=$VERSION -X github.com/owncast/owncast/config.BuildPlatform=$NAME" -o owncast .
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -ldflags "-extldflags \"-static\" -s -w -X github.com/owncast/owncast/config.GitCommit=$GIT_COMMIT -X github.com/owncast/owncast/config.VersionNumber=$VERSION -X github.com/owncast/owncast/config.BuildPlatform=$NAME" -o owncast .
|
||||
|
||||
# Create the image by copying the result of the build into a new alpine image
|
||||
FROM alpine
|
||||
|
|
Loading…
Reference in a new issue