Keep in mind during the Beta phase you are limited to one Code Engine project per region. If you already have a Code Engine project you can simply target that project using the commandibmcloud ce project target -n <name of project>
--target
option to automatically have the Code Engine cli target our new project:iamapikey
. If you would like to push to an alternate IBM Container Registry endpoint update the --server
flag accordingly.ibmcloud ce registry list
.kaniko
kubctl
within Cloud Shell target our cluster run the following command: ibmcloud ce project target -n <Name of Project> -k
kubectl
properly configured we can now launch the actual build of our container image using the buildrun
command. We specify the build definition we created previously with the --build
flag:ibmcloud ce buildrun get --name <Name of build run>
kubectl get pods
Completed
and the build run will show Succeeded