Skip to content

Commit

Permalink
fix: if no command chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
EveningStarlight committed Dec 23, 2024
1 parent c38e29f commit fdccc7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ build/%: ## build the latest image
BUILDKIT=0; \
else \
BUILDKIT=1; \
fi && \
REPO=$$(echo "$(REPO)" | sed 's:/*$$:/:' | sed 's:^\s*/*\s*$$::'); \ # End repo with exactly one trailing slash, unless it is empty
fi
# End repo with exactly one trailing slash, unless it is empty
REPO=$$(echo "$(REPO)" | sed 's:/*$$:/:' | sed 's:^\s*/*\s*$$::') && \
IMAGE_NAME="$${REPO}$(notdir $@):$(TAG)" && \
DOCKER_BUILDKIT=$$BUILDKIT docker build $(DARGS) --rm --force-rm -t $$IMAGE_NAME ./images/$(DIRECTORY) && \
echo -n "Built image $$IMAGE_NAME of size: " && \
Expand Down

0 comments on commit fdccc7b

Please sign in to comment.