How to build a Docker image from source code now? #735
-
I noticed that in the latest version of the project, the Are there new recommended commands or scripts for this process? Any guidance would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment · 2 replies
-
With #560 we migrated to By default, If you want to push to your container registry, you can run something as:
Result will be something as:
|
Beta Was this translation helpful? Give feedback.
With #560 we migrated to
ko
which provides OCI artifacts.By default,
make build
will generate ako
build for OCI, such as container images. By default, theKO_LOCAL
variable is set tofalse
, meaning you can use Skopeo orkind load docker-image
.If you want to push to your container registry, you can run something as:
Result will be something as: