From 34855011f6246cae2befbd7e91e95137b38d4998 Mon Sep 17 00:00:00 2001 From: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> Date: Fri, 6 Jun 2025 20:48:14 +0100 Subject: [PATCH] adds local build image task Signed-off-by: ChrisJBurns <29541485+ChrisJBurns@users.noreply.github.com> --- Taskfile.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index dfed3c7..3fa6d71 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -58,3 +58,11 @@ tasks: desc: Install dependencies cmds: - go mod download + + build-image: + desc: Build the image locally with ko + env: + KO_DOCKER_REPO: ghcr.io/stackloklabs/fetch/server + VERSION: dev-local + cmds: + - ko build --local --bare ./cmd/server