site/Makefile

14 lines
437 B
Makefile
Raw Normal View History

2022-09-14 03:27:21 +00:00
all: public docker
site:
2022-09-14 03:27:21 +00:00
hugo
docker: site
docker buildx build --platform linux/amd64 --tag arsen6331/site:amd64 .
docker buildx build --platform linux/arm64/v8 --tag arsen6331/site:arm64 .
docker push arsen6331/site -a
docker manifest rm arsen6331/site:latest
docker manifest create arsen6331/site:latest --amend arsen6331/site:arm64 --amend arsen6331/site:amd64
docker manifest push arsen6331/site:latest
2022-09-14 03:27:21 +00:00
.PHONY: docker site