Skip to content

Commit

Permalink
chore: add docker build args
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Jan 24, 2024
1 parent bb3c7a3 commit 1989b1d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 0 additions & 4 deletions .goreleaser-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1989b1d

Please sign in to comment.