Skip to content

Latest commit

 

History

History
49 lines (44 loc) · 1.3 KB

BUILD.md

File metadata and controls

49 lines (44 loc) · 1.3 KB

Update versions in:

  • Makefile
    • VERSION = 0.8.21
  • README.md
    • Current kubernetes version: 1.x.x
  • src/globals.sh
    • declare -rg MOKVERSION="0.8.x"
    • declare -rg K8SVERSION="1.x.x"

Check versions in:

and update mok-image/Dockerfile

For kubernetes MINOR version upgrades, update:

  • src/createcluster.sh
    • _CC_set_up_master_node()
      • "1.31."* | "1.32."*)
    • _CC_set_up_worker_node()
      • "1.31."* | "1.32."*)

Remove all images:

sudo podman images | tail -n +2 | awk '{ print $3 }' | xargs sudo podman rmi --force

Update mok

touch mok-image/Dockerfile
make package; sudo cp package/mok /usr/local/bin

Build prebuilt image for upload and check version as it's building:

mok build image --tailf

Tag and upload:

sudo podman tag localhost/local/mok-image_linux:1.32.0 docker.io/myownkind/mok-image_linux:1.32.0
sudo podman login docker.io
sudo podman push docker.io/myownkind/mok-image_linux:1.32.0

or

podman -c mok-machine tag localhost/local/mok-image_macos:1.32.0 docker.io/myownkind/mok-image_macos:1.32.0
podman -c mok-machine login docker.io
podman -c mok-machine push docker.io/myownkind/mok-image_macos:1.32.0