diff --git a/.goreleaser.yml b/.goreleaser.yml index 1d32230..8695345 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -28,6 +28,7 @@ builds: - amd64 - arm - arm64 + - 386 # GOARM to build for when GOARCH is arm. # For more info refer to: https://golang.org/doc/install/source#environment @@ -86,12 +87,24 @@ dockers: goarch: arm64 image_templates: - "hikhvar/mqtt2prometheus:{{ .Tag }}-arm64" - - "hikhvar/mqtt2prometheus:latest}-arm64" + - "hikhvar/mqtt2prometheus:latest-arm64" - "docker.pkg.github.com/hikhvar/mqtt2prometheus/mqtt2prometheus:{{ .Tag }}-arm64" - "docker.pkg.github.com/hikhvar/mqtt2prometheus/mqtt2prometheus:latest-arm64" - "ghcr.io/hikhvar/mqtt2prometheus:{{ .Tag }}-arm64" - "ghcr.io/hikhvar/mqtt2prometheus:latest-arm64" + - dockerfile: release/Dockerfile.scratch + goos: linux + goarch: arm + goarm: 5 + image_templates: + - "hikhvar/mqtt2prometheus:{{ .Tag }}-arm5" + - "hikhvar/mqtt2prometheus:latest-arm5" + - "docker.pkg.github.com/hikhvar/mqtt2prometheus/mqtt2prometheus:{{ .Tag }}-arm5" + - "docker.pkg.github.com/hikhvar/mqtt2prometheus/mqtt2prometheus:latest-arm5" + - "ghcr.io/hikhvar/mqtt2prometheus:{{ .Tag }}-arm5" + - "ghcr.io/hikhvar/mqtt2prometheus:latest-arm5" + # .goreleaser.yml docker_manifests: # You can have multiple Docker manifests. @@ -104,4 +117,5 @@ docker_manifests: # Defaults to empty. image_templates: - "hikhvar/mqtt2prometheus:{{ .Tag }}-amd64" - - "hikhvar/mqtt2prometheus:{{ .Tag }}-arm64" \ No newline at end of file + - "hikhvar/mqtt2prometheus:{{ .Tag }}-arm64" + - "hikhvar/mqtt2prometheus:{{ .Tag }}-arm5" \ No newline at end of file