From 78da1d1dd77157ffbe10296442a274bfa4746f82 Mon Sep 17 00:00:00 2001 From: Christoph Petrausch Date: Wed, 3 Feb 2021 09:45:07 +0100 Subject: [PATCH] Fix tagging, use arm5 aswell --- .goreleaser.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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