Add blog and use more advanced dockerfile

This commit is contained in:
2022-09-23 00:00:58 -07:00
parent 7847ad4ecd
commit b77124f1a7
5 changed files with 158 additions and 6 deletions

View File

@@ -1,9 +1,13 @@
all: public docker
public:
site:
hugo
docker:
docker build -t arsen6331/site .
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 create arsen6331/site:latest --amend arsen6331/site:arm64 --amend arsen6331/site:amd64
docker manifest push arsen6331/site:latest
.PHONY: docker
.PHONY: docker site