Add TESLA_CLIENT_ID to docker build

This commit is contained in:
Michael Geers 2024-01-24 13:24:47 +01:00
parent 8890d63cff
commit 15855639c6
3 changed files with 7 additions and 0 deletions

View file

@ -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:

View file

@ -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

View file

@ -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' ;; \