Skip to content

Commit

Permalink
feat: Agent 2.0 prerelease container images (#1898)
Browse files Browse the repository at this point in the history
* re-add some containers for alpha v2 releases

* remove extra space in image tag
  • Loading branch information
BinaryFissionGames authored Oct 7, 2024
1 parent 49c39f8 commit d731a0c
Showing 1 changed file with 54 additions and 4 deletions.
58 changes: 54 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,53 @@ nfpms:
preremove: ./scripts/package/preremove.sh
postremove: ./scripts/package/postremove.sh

# TODO: Dakota - commenting out during v2 alpha releases
# Build container images with docker buildx (mutli arch builds).
# dockers:
# TODO: Dakota - commenting out during v2 alpha releases
# Build container images with docker buildx (mutli arch builds).
dockers:
# TODO: Consider removing later, used for alpha v2 releases
- id: ubuntu-amd64
goos: linux
goarch: amd64
ids:
- collector
- supervisor
image_templates:
- "ghcr.io/observiq/bindplane-agent-amd64:{{ .RawVersion }}-{{ .Prerelease }}"
dockerfile: ./docker/Dockerfile.ubuntu
use: buildx
build_flag_templates:
- "--label=created={{.Date}}"
- "--label=title={{.ProjectName}}"
- "--label=revision={{.FullCommit}}"
- "--label=version={{.Version}}"
- "--platform=linux/amd64"
extra_files:
- release_deps/VERSION.txt
- release_deps/plugins
- LICENSE
- release_deps/opentelemetry-java-contrib-jmx-metrics.jar
# TODO: Consider removing later, used for alpha v2 releases
- id: ubuntu-arm64
goos: linux
goarch: arm64
ids:
- collector
- supervisor
image_templates:
- "ghcr.io/observiq/bindplane-agent-arm64:{{ .RawVersion }}-{{ .Prerelease }}"
dockerfile: ./docker/Dockerfile.ubuntu
use: buildx
build_flag_templates:
- "--label=created={{.Date}}"
- "--label=title={{.ProjectName}}"
- "--label=revision={{.FullCommit}}"
- "--label=version={{.Version}}"
- "--platform=linux/arm64"
extra_files:
- release_deps/VERSION.txt
- release_deps/plugins
- LICENSE
- release_deps/opentelemetry-java-contrib-jmx-metrics.jar
# - id: scratch-amd64
# goos: linux
# goarch: amd64
Expand Down Expand Up @@ -425,7 +469,13 @@ nfpms:
# - LICENSE
# - release_deps/opentelemetry-java-contrib-jmx-metrics.jar

# docker_manifests:
docker_manifests:
# TODO: Consider removing later, used for alpha v2 releases
- name_template: "ghcr.io/observiq/bindplane-agent:{{ .RawVersion }}-{{ .Prerelease }}"
image_templates:
- "ghcr.io/observiq/bindplane-agent-amd64:{{ .RawVersion }}-{{ .Prerelease }}"
- "ghcr.io/observiq/bindplane-agent-arm64:{{ .RawVersion }}-{{ .Prerelease }}"
skip_push: false
# - name_template: "observiq/bindplane-agent:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-minimal"
# image_templates:
# - "observiq/bindplane-agent-amd64:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-minimal"
Expand Down

0 comments on commit d731a0c

Please sign in to comment.