Skip to content

Commit 3f0850d

Browse files
committed
build updates
1 parent 38b2ef4 commit 3f0850d

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

Makefile

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ REPO := amancevice/pandas
22
STAGES := lock alpine slim jupyter latest
33
PANDAS_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:
2626
clobber: 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

3932
alpine slim jupyter:
4033
docker image tag $(REPO):$* $(REPO):$(PANDAS_VERSION)-$*

0 commit comments

Comments
 (0)