From df520354faf8f5eb83fed7c3c2ee12a4ac438984 Mon Sep 17 00:00:00 2001 From: Chizkiyahu Raful Date: Wed, 22 Oct 2025 13:13:07 +0300 Subject: [PATCH 1/3] Add .github/README.MD Signed-off-by: Chizkiyahu Raful --- .github/README.MD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/README.MD diff --git a/.github/README.MD b/.github/README.MD new file mode 100644 index 0000000..c766853 --- /dev/null +++ b/.github/README.MD @@ -0,0 +1,22 @@ +# Workflows + +## docker build +See the workflow file [publish-linux-docker-image.yml](./workflows/publish-linux-docker-image.yml) +is using the [Dockerfile](../docker/Dockerfile) and [ci_build.sh](.workflows/scripts/ci_build.sh) + +## cache docker layers +In `docker build` is running the script [ci_build.sh](.workflows/scripts/ci_build.sh) to cache the `repo` build in docker layers. +this save time when running the `Build ML SDK` see [build-with-manifest.yml](.workflows/build-with-manifest.yml) and reduce the time to build the docker image by 50%. + +## save docker build cache to registry `ghcr.io` +In `docker build` is using `cache-from` and `cache-to` to save the docker build cache to registry. +this reduce the build time of docker build + +## weekly docker build +a cron job in [publish-linux-docker-image.yml](./workflows/publish-linux-docker-image.yml) is running weekly +and rebuilding the docker image without using `ghcr.io` cache +to reduce the gap of `repo sync` in the docker image. + +## code build +to run code build run `/home/mlsdkuser/ci_build.sh` inside the docker container see see [build-with-manifest.yml](.workflows/build-with-manifest.yml) + From 73bdded3a2af384c23bedd44770aedc615fadcfb Mon Sep 17 00:00:00 2001 From: Chizkiyahu Raful Date: Wed, 22 Oct 2025 14:43:10 +0300 Subject: [PATCH 2/3] fix ext to .md Signed-off-by: Chizkiyahu Raful --- .github/{README.MD => README.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{README.MD => README.md} (100%) diff --git a/.github/README.MD b/.github/README.md similarity index 100% rename from .github/README.MD rename to .github/README.md From f8fe3e36f4845c62f37dd71060a69bb9982c1e1a Mon Sep 17 00:00:00 2001 From: Chizkiyahu Raful Date: Wed, 22 Oct 2025 16:58:04 +0300 Subject: [PATCH 3/3] update the docs Signed-off-by: Chizkiyahu Raful --- .github/README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/README.md b/.github/README.md index c766853..97da7d1 100644 --- a/.github/README.md +++ b/.github/README.md @@ -4,18 +4,9 @@ See the workflow file [publish-linux-docker-image.yml](./workflows/publish-linux-docker-image.yml) is using the [Dockerfile](../docker/Dockerfile) and [ci_build.sh](.workflows/scripts/ci_build.sh) -## cache docker layers -In `docker build` is running the script [ci_build.sh](.workflows/scripts/ci_build.sh) to cache the `repo` build in docker layers. -this save time when running the `Build ML SDK` see [build-with-manifest.yml](.workflows/build-with-manifest.yml) and reduce the time to build the docker image by 50%. - ## save docker build cache to registry `ghcr.io` In `docker build` is using `cache-from` and `cache-to` to save the docker build cache to registry. -this reduce the build time of docker build - -## weekly docker build -a cron job in [publish-linux-docker-image.yml](./workflows/publish-linux-docker-image.yml) is running weekly -and rebuilding the docker image without using `ghcr.io` cache -to reduce the gap of `repo sync` in the docker image. +this reduces the build time of docker build ## code build to run code build run `/home/mlsdkuser/ci_build.sh` inside the docker container see see [build-with-manifest.yml](.workflows/build-with-manifest.yml)