Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make local builds work again
  • Loading branch information
ajhodgson committed Jan 6, 2025
commit 39cd5ea6d67e42e3500428802c539f1586dbd7b9
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ else
_build_arm64 := 1
endif

# test if we're running in an interactive shell (vs gh actions)
INTERACTIVE:=$(shell [ -t 0 ] && echo 1)

.PHONY: all build_base build_all tag_latest cross_tag push release labels clean clean_images

FORCE:
Expand Down Expand Up @@ -82,6 +85,9 @@ ifeq ($(_build_arm64),1)
endif

build_%:
ifeq ($(INTERACTIVE),1)
build_%: build_base
endif
rm -rf $*_image
cp -pR image $*_image
@if [ "${*}" != "full" ] && [ "${*}" != "customizable" ]; then \
Expand Down
Loading