chore: add docker build args
This commit is contained in:
parent
bb3c7a3f0c
commit
1989b1df4d
4 changed files with 5 additions and 9 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
|
@ -68,6 +68,8 @@ jobs:
|
|||
context: .
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v6
|
||||
push: true
|
||||
build-args: |
|
||||
TESLA_CLIENT_ID=${{ secrets.TESLA_CLIENT_ID }}
|
||||
tags: |
|
||||
evcc/evcc:nightly
|
||||
|
||||
|
|
|
|||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -46,7 +46,9 @@ jobs:
|
|||
context: .
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v6
|
||||
push: true
|
||||
build-args: RELEASE=1
|
||||
build-args: |
|
||||
RELEASE=1
|
||||
TESLA_CLIENT_ID=${{ secrets.TESLA_CLIENT_ID }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
||||
apt:
|
||||
|
|
|
|||
|
|
@ -26,10 +26,6 @@ builds:
|
|||
- goos: windows
|
||||
goarch: arm64
|
||||
|
||||
dockers:
|
||||
- build_flag_templates:
|
||||
- "--build-arg=TESLA_CLIENT_ID={{ .Env.TESLA_CLIENT_ID }}"
|
||||
|
||||
archives:
|
||||
- builds:
|
||||
- evcc
|
||||
|
|
|
|||
|
|
@ -30,10 +30,6 @@ builds:
|
|||
- goos: windows
|
||||
goarch: arm64
|
||||
|
||||
dockers:
|
||||
- build_flag_templates:
|
||||
- "--build-arg=TESLA_CLIENT_ID={{ .Env.TESLA_CLIENT_ID }}"
|
||||
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue