Skip to content

Commit

Permalink
fix(build): uname handling for mac M1 arch. Fixes #13112 (#13113)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Adrien Delannoy <a.delannoyfr@gmail.com>
  • Loading branch information
Adrien-D and agilgur5 committed Jun 5, 2024
1 parent fca66b0 commit 58dbcd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SRC := $(GOPATH)/src/github.com/argoproj/argo-workflows
# docker image publishing options
IMAGE_NAMESPACE ?= quay.io/argoproj
DEV_IMAGE ?= $(shell [ `uname -s` = Darwin ] && echo true || echo false)
TARGET_PLATFORM := $(shell [ `uname -m` = arm64 ] && echo linux/arm64 || echo linux/amd64)
TARGET_PLATFORM ?= linux/$(shell go env GOARCH)

# declares which cluster to import to in case it's not the default name
K3D_CLUSTER_NAME ?= k3s-default
Expand Down Expand Up @@ -732,7 +732,7 @@ docs: /usr/local/bin/mkdocs \
# check environment-variables.md contains all variables mentioned in the code
./hack/docs/check-env-doc.sh
# build the docs
mkdocs build --strict
TZ=UTC mkdocs build --strict
# tell the user the fastest way to edit docs
@echo "ℹ️ If you want to preview your docs, open site/index.html. If you want to edit them with hot-reload, run 'make docs-serve' to start mkdocs on port 8000"

Expand Down

0 comments on commit 58dbcd0

Please sign in to comment.