site/Makefile

15 lines
437 B
Makefile
Raw Normal View History

2022-11-27 20:41:08 +00:00
all: site docker
2022-09-14 03:27:21 +00:00
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
2022-11-27 20:41:08 +00:00
-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
2022-11-27 20:41:08 +00:00
.PHONY: docker site