Skip to content

Commit

Permalink
added task for ko
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva committed May 21, 2024
1 parent 296e932 commit 3226e88
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,17 @@ tasks:
cmds:
- machineShop render --source local --template tests/template.yaml --defaults tests/default.yaml

ko:
desc: Build image w/ KO
deps: [lint, test]
env:
KO_DOCKER_REPO: eu.gcr.io/stuttgart-things/machineshop
cmds:
- ko build github.com/stuttgart-things/machineshop

build:
desc: Build code
deps: [lint, test]
cmds:
- go mod tidy
- go install
Expand Down

0 comments on commit 3226e88

Please sign in to comment.