Skip to content

Commit

Permalink
fix 'make docker' target
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Winther <[email protected]>
  • Loading branch information
jippi committed Jan 24, 2018
1 parent 27dbab8 commit 847d950
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ $(BINARIES): $(BUILD_DIR)/aws-dynamic-consul-catalog-%: $(BUILD_DIR)
dist: install fmt vet
@echo "=> building ..."
$(MAKE) -j $(BINARIES)

.PHONY: docker
docker:
@echo "=> build and push Docker image ..."
@docker login -u $(DOCKER_USER) -p $(DOCKER_PASS)
docker build -f Dockerfile -t seatgeek/aws-dynamic-consul-catalog:$(COMMIT) .
docker tag seatgeek/aws-dynamic-consul-catalog:$(COMMIT) seatgeek/aws-dynamic-consul-catalog:$(TAG)
docker push seatgeek/aws-dynamic-consul-catalog:$(TAG)

0 comments on commit 847d950

Please sign in to comment.