docker: also tag image as mcias:latest
This commit is contained in:
6
Makefile
6
Makefile
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user