Skip to content

Commit

Permalink
chore: Add release-image to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed Jan 7, 2022
1 parent b6b4991 commit fda42be
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,12 @@ test-all: check-prettier check-lint test ## Check lint and test code

.PHONY: build-image
build-image: ## Build Docker Image
@docker build . -t $(IMAGE_NAME) -f Dockerfile
@docker build . -t $(IMAGE_NAME) -f Dockerfile

.PHONY: push-image
push-image: ## Publish Docker Image
@docker push $(IMAGE_NAME)

.PHONY: release-image
release-image: build-image push-image ## Build and push the image to docker hub
@echo "Releasing $(IMAGE_NAME)"

0 comments on commit fda42be

Please sign in to comment.