Skip to content

Commit

Permalink
use sh syntax make is being confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jan 3, 2025
1 parent 154248a commit f9fcaf8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,11 @@ push: $(foreach image, $(ALL_IMAGES), push_${image})
push_%: FORCE
ifeq ($(_build_amd64),1)
docker push $(NAME)-$*:latest-amd64
ifneq ($*,base)
docker push $(NAME)-$*:$(VERSION)-amd64
endif
if [ base != $* ]; then docker push $(NAME)-$*:$(VERSION)-amd64; fi
endif
ifeq ($(_build_arm64),1)
docker push $(NAME)-$*:latest-arm64
ifneq ($*,base)
docker push $(NAME)-$*:$(VERSION)-arm64
endif
if [ base != $* ]; then docker push $(NAME)-$*:$(VERSION)-arm64; fi
endif

release: $(foreach image, $(ALL_IMAGES), release_${image})
Expand Down

0 comments on commit f9fcaf8

Please sign in to comment.