From a3591475e0552f7f6d4311b261fda24f364091cb Mon Sep 17 00:00:00 2001 From: Nate Meyer <672246+notnmeyer@users.noreply.github.com> Date: Tue, 9 Jan 2024 20:15:13 -0800 Subject: [PATCH] add .env to tasks add .env to tasks --- tasks.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks.toml b/tasks.toml index d3970db..8f7e3eb 100644 --- a/tasks.toml +++ b/tasks.toml @@ -5,6 +5,7 @@ cmds = ["go run main.go {{.CLI_ARGS}}"] cmds = ["go test ./... {{.CLI_ARGS}}"] [tasks.build] +dotenv = ".env" cmds = [ "docker context use default", "goreleaser build --clean --snapshot {{.CLI_ARGS}}", @@ -12,6 +13,7 @@ cmds = [ # `tsk release -- --snapshot` to build images without publishing [tasks.release] +dotenv = ".env" cmds = [ "docker context use default", "goreleaser release --clean {{.CLI_ARGS}}",