Skip to content

Commit

Permalink
Use more suitable flags for local ko build
Browse files Browse the repository at this point in the history
  • Loading branch information
eest committed Sep 26, 2024
1 parent 5322198 commit 0d1ad33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ For creating a container image you will need to install
[ko](https://github.com/ko-build/ko) and once this is done you can build a
container that is pushed to a local Docker daemon like so:
```
GITHUB_SHA=$(git log -1 --pretty=%H) KO_DOCKER_REPO=ko.local ko build --bare
GITHUB_SHA=$(git log -1 --pretty=%H) ko build -L -B
```
You now have a `ko.local/edm:latest` available locally.

0 comments on commit 0d1ad33

Please sign in to comment.