Update 0034-build-docker-with-kaniko.md

This commit is contained in:
Ferenc Hammerl
2023-01-04 12:18:51 +01:00
committed by GitHub
parent a62b81fc95
commit 0c38d44dbd

View File

@@ -29,7 +29,9 @@ EITHER
- `ACTIONS_RUNNER_CONTAINER_HOOKS_REGISTRY_NODE_PORT` # NodePort - the K8S job will pull the image from here - `ACTIONS_RUNNER_CONTAINER_HOOKS_REGISTRY_NODE_PORT` # NodePort - the K8S job will pull the image from here
- The hooks then build up a URI like `localhost:${registryNodePort()}/${generated-random-string-handle-image}` for the k8s job to pull from - The hooks then build up a URI like `localhost:${registryNodePort()}/${generated-random-string-handle-image}` for the k8s job to pull from
- `localhost` is the current limitation enforcing the existence of a docker registry exposed through the `nodePort` of a k8s service - `localhost` is the current limitation enforcing the existence of a docker registry exposed through the `nodePort` of a k8s service
OR OR
- Define a remote docker registry (dockerhub, ghcr) and its secrets (WIP) - Define a remote docker registry (dockerhub, ghcr) and its secrets (WIP)
To execute a container-action, we run a k8s job by loading the image from the specified registry To execute a container-action, we run a k8s job by loading the image from the specified registry