Skip to content

Commit

Permalink
Use env var for container base image name (#23)
Browse files Browse the repository at this point in the history
Fixes #22

Signed-off-by: Juraci Paixão Kröhling <[email protected]>
  • Loading branch information
jpkrohling authored Oct 5, 2021
1 parent 4abc111 commit 926a0ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ docker_manifests:
- otel/opentelemetry-collector:{{ .Tag }}-amd64
dockers:
- image_templates:
- "otel/otelcol:{{ .Tag }}-amd64"
- "otel/opentelemetry-collector:{{ .Tag }}-amd64"
dockerfile: "distributions/otelcol/Dockerfile"
use: buildx
build_flag_templates:
Expand Down
2 changes: 1 addition & 1 deletion scripts/goreleaser-templates/docker.template.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dockers:
- image_templates:
- "otel/{distribution}:{{ .Tag }}-amd64"
- "${CONTAINER_BASE_NAME}:{{ .Tag }}-amd64"
dockerfile: "distributions/{distribution}/Dockerfile"
use: buildx
build_flag_templates:
Expand Down

0 comments on commit 926a0ba

Please sign in to comment.