diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3f88c2866..13d82fbac 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -52,7 +52,7 @@ dockers: use: buildx build_flag_templates: - --platform=linux/amd64 - - --build-arg=SEGMENT_WRITE_KEY=$SEGMENT_WRITE_KEY + - --build-arg=SEGMENT_WRITE_KEY={{ .Env.SEGMENT_WRITE_KEY }} - --build-arg=VERSION={{ .Version }} - image_templates: - tailwarden/komiser:{{ .Version }}-arm64 @@ -61,7 +61,7 @@ dockers: use: buildx build_flag_templates: - --platform=linux/arm64 - - --build-arg=SEGMENT_WRITE_KEY=$SEGMENT_WRITE_KEY + - --build-arg=SEGMENT_WRITE_KEY={{ .Env.SEGMENT_WRITE_KEY }} - --build-arg=VERSION={{ .Version }} docker_manifests: