Add TESLA_CLIENT_ID to docker build
This commit is contained in:
parent
8890d63cff
commit
15855639c6
3 changed files with 7 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ builds:
|
|||
goarch: arm
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
docker:
|
||||
build_flag_templates:
|
||||
- "--build-arg=TESLA_CLIENT_ID=${TESLA_CLIENT_ID}"
|
||||
|
||||
archives:
|
||||
- builds:
|
||||
|
|
|
|||
|
|
@ -29,6 +29,9 @@ builds:
|
|||
goarch: arm
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
docker:
|
||||
build_flag_templates:
|
||||
- "--build-arg=TESLA_CLIENT_ID=${TESLA_CLIENT_ID}"
|
||||
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ COPY --from=node /build/dist /build/dist
|
|||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ARG TARGETVARIANT
|
||||
ARG TESLA_CLIENT_ID
|
||||
|
||||
RUN case "${TARGETVARIANT}" in \
|
||||
"armhf") export GOARM='6' ;; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue