Skip to content

Commit

Permalink
fix(ci): docker build on x86_64 linux (#2051)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chmllr authored Oct 3, 2024
1 parent 282db08 commit ef6c6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ef6c6f2

Please sign in to comment.