Skip to content

Commit 8b6ac23

Browse files
committed
Makefile: introduce docker push targets
1 parent ad834ab commit 8b6ac23

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,16 @@ docker-build-test: ## Build test Docker image
331331
docker build -t $(DOCKER_ORG)/mina-rust-test:$(GIT_COMMIT) \
332332
-f node/testing/docker/Dockerfile.test node/testing/docker/
333333

334+
# Docker push targets
335+
336+
.PHONY: docker-push-mina
337+
docker-push-mina: ## Push main Mina Docker image to DockerHub
338+
@docker push $(DOCKER_ORG)/mina-rust:$(GIT_COMMIT)
339+
340+
.PHONY: docker-push-frontend
341+
docker-push-frontend: ## Push frontend Docker image to DockerHub
342+
@docker push $(DOCKER_ORG)/mina-rust-frontend:$(GIT_COMMIT)
343+
334344
# Node running targets
335345
.PHONY: run-node
336346
run-node: build-release ## Run a basic node (NETWORK=devnet, VERBOSITY=info)

0 commit comments

Comments
 (0)