This repository has been archived on 2021-08-14. You can view files and clone it, but cannot push or open issues/pull-requests.
bever-dam/Makefile

25 lines
334 B
Makefile
Raw Permalink Normal View History

2021-07-20 18:42:50 +02:00
DOCKER_TAG := chewingbever/blog:latest
all: build
.PHONY: build
build:
@ hugo
.PHONY: build
run:
@ hugo -D server
.PHONY: run
image:
@ docker build -t ${DOCKER_TAG} .
.PHONY: image
publish:
@ docker buildx build . \
2021-07-21 15:56:33 +02:00
--platform linux/amd64,linux/arm64,linux/arm/v7 \
2021-07-20 18:42:50 +02:00
-t ${DOCKER_TAG} \
--pull \
--push
.PHONY: publish