Makefile: add simple image-push target

And use it in workflow.
This commit is contained in:
Roman Khimov 2021-04-30 18:53:20 +03:00
parent 12859c2e5d
commit 93fcaffaaa
2 changed files with 8 additions and 1 deletions

View file

@ -66,6 +66,11 @@ image:
-f Dockerfile \
-t $(HUB_IMAGE):$(HUB_TAG) .
# Push Docker image to the hub
image-push:
@echo "⇒ Publish image"
@docker push $(HUB_IMAGE):$(HUB_TAG)
# Build dirty Docker image
dirty-image:
@echo "⇒ Build NeoFS HTTP Gateway dirty docker image "