Skip to content

Commit 2a4f907

Browse files
authored
chore: Use uname instead of arch in Makefile (#385)
1 parent effd218 commit 2a4f907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/Makefile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
TAG := $(shell git rev-parse --short HEAD)
1313
OPERATOR_NAME := {[ operator.name }]
1414
VERSION := $(shell cargo metadata --format-version 1 | jq -r '.packages[] | select(.name=="stackable-${OPERATOR_NAME}") | .version')
15-
ARCH := $(shell arch | sed -e 's#x86_64#amd64#' | sed -e 's#aarch64#arm64#')
15+
ARCH := $(shell uname -m | sed -e 's#x86_64#amd64#' | sed -e 's#aarch64#arm64#')
1616

1717
DOCKER_REPO := docker.stackable.tech
1818
ORGANIZATION := stackable

0 commit comments

Comments
 (0)