Skip to content

Commit

Permalink
make: fix order of base image pattern maching
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Jan 5, 2024
1 parent be8cf2a commit 4cdcaf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ endif
UBUNTU_VERSION = 18.04


ifeq ($(filter $(ARCH),arm64 aarch64),)
BASE_IMAGE = arm64v8/ubuntu:$(UBUNTU_VERSION)
else ifeq ($(ARCH), x86_64)
ifeq ($(ARCH), x86_64)
BASE_IMAGE = amd64/ubuntu:$(UBUNTU_VERSION)
else ifeq ($(filter $(ARCH),arm64 aarch64),)
BASE_IMAGE = arm64v8/ubuntu:$(UBUNTU_VERSION)
else
BASE_IMAGE = ubuntu:$(UBUNTU_VERSION)
endif
Expand Down

0 comments on commit 4cdcaf1

Please sign in to comment.