Add task for building image

This commit is contained in:
9seconds
2026-02-11 09:47:11 +01:00
parent b72af2b953
commit b1728c3474
2 changed files with 12 additions and 4 deletions
+5
View File
@@ -33,6 +33,11 @@ run = [
"rm ./dist/config.yaml"
]
[tasks.image]
description = "Build docker image"
sources = ["**/*.go", "go.mod", "go.sum", "Dockerfile"]
run = "docker buildx build --pull -t mtg ."
[tasks.docs]
description = "Run doc server"
tools."go:golang.org/x/pkgsite/cmd/pkgsite" = "latest"