Skip to content

Commit

Permalink
Remove 'v' from the container image version (#26)
Browse files Browse the repository at this point in the history
Fixes #25

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling authored Oct 6, 2021
1 parent 926a0ba commit 574b913
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ builds:
- goos: windows
goarch: arm64
docker_manifests:
- name_template: otel/opentelemetry-collector:{{ .Tag }}
- name_template: otel/opentelemetry-collector:{{ .Version }}
image_templates:
- otel/opentelemetry-collector:{{ .Tag }}-amd64
- otel/opentelemetry-collector:{{ .Version }}-amd64
dockers:
- image_templates:
- "otel/opentelemetry-collector:{{ .Tag }}-amd64"
- "otel/opentelemetry-collector:{{ .Version }}-amd64"
dockerfile: "distributions/otelcol/Dockerfile"
use: buildx
build_flag_templates:
Expand Down
4 changes: 2 additions & 2 deletions scripts/goreleaser-templates/docker-manifests.template.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docker_manifests:
- name_template: ${CONTAINER_BASE_NAME}:{{ .Tag }}
- name_template: ${CONTAINER_BASE_NAME}:{{ .Version }}
image_templates:
- ${CONTAINER_BASE_NAME}:{{ .Tag }}-amd64
- ${CONTAINER_BASE_NAME}:{{ .Version }}-amd64
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:
- "${CONTAINER_BASE_NAME}:{{ .Tag }}-amd64"
- "${CONTAINER_BASE_NAME}:{{ .Version }}-amd64"
dockerfile: "distributions/{distribution}/Dockerfile"
use: buildx
build_flag_templates:
Expand Down

0 comments on commit 574b913

Please sign in to comment.