File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ REPO := amancevice/pandas
22STAGES := lock alpine slim jupyter latest
33PANDAS_VERSION := $(shell grep pandas Pipfile | grep -o '[0-9.]\+')
44
5- .PHONY : default clean clobber push
5+ .PHONY : all clean clobber push
66
7- default : $(STAGES )
7+ all : $(STAGES )
88
99.docker :
1010 mkdir -p $@
@@ -26,15 +26,8 @@ clean:
2626clobber : clean
2727 docker image ls $(REPO ) --quiet | uniq | xargs docker image rm --force
2828
29- push : default
30- docker image push $(REPO ) :alpine
31- docker image push $(REPO ) :slim
32- docker image push $(REPO ) :jupyter
33- docker image push $(REPO ) :latest
34- docker image push $(REPO ) :$(PANDAS_VERSION ) -alpine
35- docker image push $(REPO ) :$(PANDAS_VERSION ) -slim
36- docker image push $(REPO ) :$(PANDAS_VERSION ) -jupyter
37- docker image push $(REPO ) :$(PANDAS_VERSION )
29+ push : all
30+ docker image push --all-tags $(REPO )
3831
3932alpine slim jupyter :
4033 docker image tag $(REPO ) :$* $(REPO ) :$(PANDAS_VERSION ) -$*
You can’t perform that action at this time.
0 commit comments