Skip to content

Commit

Permalink
Publish images to opentelemetry namespaces (open-telemetry#15)
Browse files Browse the repository at this point in the history
* Publish images to opentelemetry namespaces
Fixes open-telemetry#14

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Removed quay

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Change release action

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling authored Sep 8, 2021
1 parent 0013b56 commit f9dbb1b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- name: Generate distribution sources
run: make generate-sources

- name: Log into Quay.io
run: echo "${{ secrets.QUAY_PASSWORD }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
- name: Log into Docker.io
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
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: quay.io/jpkroehling/otelcol:{{ .Tag }}
- name_template: otel/otelcol:{{ .Tag }}
image_templates:
- quay.io/jpkroehling/otelcol:{{ .Tag }}-amd64
- otel/otelcol:{{ .Tag }}-amd64
dockers:
- image_templates:
- "quay.io/jpkroehling/otelcol:{{ .Tag }}-amd64"
- "otel/otelcol:{{ .Tag }}-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: quay.io/jpkroehling/{distribution}:{{ .Tag }}
- name_template: otel/{distribution}:{{ .Tag }}
image_templates:
- quay.io/jpkroehling/{distribution}:{{ .Tag }}-amd64
- otel/{distribution}:{{ .Tag }}-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:
- "quay.io/jpkroehling/{distribution}:{{ .Tag }}-amd64"
- "otel/{distribution}:{{ .Tag }}-amd64"
dockerfile: "distributions/{distribution}/Dockerfile"
use: buildx
build_flag_templates:
Expand Down

0 comments on commit f9dbb1b

Please sign in to comment.