Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
OneCricketeer committed Jun 2, 2020
1 parent 02346ab commit bcf255e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ DOCKER_FQN = $(DOCKER_REGISTRY)$(DOCKER_USER)/$(DOCKER_IMAGE)

build-confluent-hub: build
@docker build -f Dockerfile.confluent-hub -t $(DOCKER_FQN):$(VERSION)-confluent-hub .
@docker tag $(DOCKER_FQN):$(VERSION)-confluent-hub $(DOCKER_FQN):latest-confluent-hub
build:
@./mvnw clean package
@./mvnw -B --errors clean package --file pom.xml

push: build
@docker push $(DOCKER_FQN):$(VERSION)
@docker push $(DOCKER_FQN):latest
@docker push $(DOCKER_FQN):$(VERSION)-confluent-hub
@docker tag $(DOCKER_FQN):$(VERSION)-confluent-hub $(DOCKER_FQN):latest-confluent-hub
@docker push $(DOCKER_FQN):latest-confluent-hub
@docker push $(DOCKER_FQN):$(VERSION)
@docker push $(DOCKER_FQN):$(VERSION)-confluent-hub

clean:
@docker rmi -f $(DOCKER_FQN):$(VERSION)
@docker rmi -f $(DOCKER_FQN):latest
@docker rmi -f $(DOCKER_FQN):latest-confluent-hub
@docker rmi -f $(DOCKER_FQN):$(VERSION)
@docker rmi -f $(DOCKER_FQN):$(VERSION)-confluent-hub
@docker rmi -f $(DOCKER_FQN):latest-confluent-hub

0 comments on commit bcf255e

Please sign in to comment.