docker: also tag image as mcias:latest

This commit is contained in:
2026-03-11 23:29:11 -07:00
parent 052d3ed1b8
commit 7a7191c138

View File

@@ -9,7 +9,7 @@
# make install — run dist/install.sh (requires root)
# make clean — remove bin/ and generated artifacts
# make dist — build release tarballs for linux/amd64 and linux/arm64
# make docker — build Docker image tagged mcias:$(VERSION)
# make docker — build Docker image tagged mcias:$(VERSION) and mcias:latest
# ---------------------------------------------------------------------------
# Variables
@@ -132,7 +132,7 @@ dist: man
# ---------------------------------------------------------------------------
.PHONY: docker
docker:
docker build -t mcias:$(VERSION) .
docker build -t mcias:$(VERSION) -t mcias:latest .
# ---------------------------------------------------------------------------
# Help
@@ -148,4 +148,4 @@ help:
@echo " install Install to /usr/local/bin (requires root)"
@echo " clean Remove build artifacts"
@echo " dist Build release tarballs for Linux amd64/arm64"
@echo " docker Build Docker image mcias:$(VERSION)"
@echo " docker Build Docker image mcias:$(VERSION) and mcias:latest"