You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,9 @@ container-image: ## Build a container image for the preview of the website
71
71
--tag $(CONTAINER_IMAGE)\
72
72
--build-arg HUGO_VERSION=$(HUGO_VERSION)
73
73
74
+
container-push: container-image ## Push container image for the preview of the website
75
+
$(CONTAINER_ENGINE) push $(CONTAINER_IMAGE)
76
+
74
77
container-build: module-check
75
78
$(CONTAINER_RUN) --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 $(CONTAINER_IMAGE) sh -c "npm ci && hugo --minify --environment development"
0 commit comments