Skip to content

Commit 0f94425

Browse files
committed
chore: decouple push from all
Signed-off-by: Marco Nenciarini <[email protected]>
1 parent 68c01ce commit 0f94425

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ check: prereqs
4747
# --------------------------
4848
# Push all images
4949
# --------------------------
50-
push: all $(PUSH_TARGETS)
50+
push: prereqs $(PUSH_TARGETS)
5151
@echo -e "$(GREEN)======================================================$(NC)"
5252
@echo -e "$(GREEN)Push successful for all projects: $(DIRS)$(NC)"
5353
@echo -e "$(GREEN)======================================================$(NC)"
@@ -56,7 +56,7 @@ push: all $(PUSH_TARGETS)
5656
# Generic per-project push
5757
# Usage: make push-<project>
5858
# --------------------------
59-
$(PUSH_TARGETS): push-%: prereqs %
59+
$(PUSH_TARGETS): push-%: prereqs
6060
@echo -e "$(BLUE)Performing bake --push for $*...$(NC)"
6161
ifeq ($(DRY_RUN),true)
6262
@echo -e "$(GREEN)[DRY RUN] docker buildx bake -f $*/metadata.hcl -f docker-bake.hcl --push$(NC)"

0 commit comments

Comments
 (0)