From ef6c6f2e6221b2e8199150754e6dad10a91b7af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCller?= <649785+chmllr@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:06:06 -0400 Subject: [PATCH] fix(ci): docker build on x86_64 linux (#2051) Currently, if `make build-docker` is executed on a Linux machine, `arch` returns `x86_64` which is _not_ a valid `$GOARCH` value. Instead, `amd64` should be used. issue: none --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d64b7cc67..53f20a575 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ help: ## Display this help message ### Docker ### ############################################################################### -ARCH := $(shell arch) +ARCH := $(shell arch | sed 's/x86_64/amd64/') .PHONY: build-docker build-docker: ensure-go-releaser ## Builds the docker images using local arch.