Skip to content

Commit 9c64f4d

Browse files
docs: Document setting TARGET_ARCH for running make image locally on Mac with Apple chip (argoproj#25334)
Signed-off-by: Regina Voloshin <regina.voloshin@codefresh.io> Co-authored-by: Dan Garfield <dan.garfield@octopus.com>
1 parent 84d94c0 commit 9c64f4d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/developer-guide/running-locally.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,13 @@ If you don't set `IMAGE_TAG` in your environment, the default of `:latest` will
208208
export IMAGE_TAG=1.5.0-myrc
209209
```
210210

211+
> [!NOTE]
212+
> The image will be built for `linux/amd64` platform by default. If you are running on Mac with Apple chip (ARM),
213+
> you need to specify the correct buld platform by running:
214+
> ```bash
215+
> export TARGET_ARCH=linux/arm64
216+
> ```
217+
211218
Then you can build & push the image in one step:
212219
213220
```bash

0 commit comments

Comments
 (0)