Skip to content

Commit

Permalink
Merge pull request #989 from elezar/improve-multiarch
Browse files Browse the repository at this point in the history
[no-relnote] Allow ARCH to be specified for single image
  • Loading branch information
elezar authored Oct 11, 2024
2 parents 966d5b8 + 104cffb commit cb7ff49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deployments/container/native-only.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
# limitations under the License.

PUSH_ON_BUILD ?= false
DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64
ARCH ?= $(shell uname -m)
DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/$(ARCH)

ifeq ($(PUSH_ON_BUILD),true)
$(BUILD_TARGETS): build-%: image-%
Expand Down

0 comments on commit cb7ff49

Please sign in to comment.