From 245e4e8a3d58dbc139a819db99b32a65fa45cca7 Mon Sep 17 00:00:00 2001 From: Aron Kahrs <85702110+aronkahrs-us@users.noreply.github.com> Date: Fri, 5 Jan 2024 18:36:16 -0300 Subject: [PATCH] Fix local-ai docker image (#16878) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix error pulling image from qualy.io (https://github.com/mudler/LocalAI/issues/1541) and update to v2.4.0 **Description** Due to image pull limite of qualy.io, image of v2.4.0 has been moved to docker.io ⚒️ Fixes (external issue)https://github.com/mudler/LocalAI/issues/1541 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Aron Kahrs <85702110+aronkahrs-us@users.noreply.github.com> --- charts/stable/local-ai/Chart.yaml | 6 +++--- charts/stable/local-ai/values.yaml | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/charts/stable/local-ai/Chart.yaml b/charts/stable/local-ai/Chart.yaml index 7c692820685..bd876feee3a 100644 --- a/charts/stable/local-ai/Chart.yaml +++ b/charts/stable/local-ai/Chart.yaml @@ -1,8 +1,8 @@ kubeVersion: ">=1.24.0-0" apiVersion: v2 name: local-ai -version: 8.7.5 -appVersion: 2.3.1 +version: 8.8.0 +appVersion: 2.4.0 description: Self-hosted, community-driven, local OpenAI-compatible API. home: https://truecharts.org/charts/stable/local-ai icon: https://truecharts.org/img/hotlink-ok/chart-icons/local-ai.png @@ -10,7 +10,7 @@ deprecated: false sources: - https://github.com/go-skynet/LocalAI - https://github.com/truecharts/charts/tree/master/charts/stable/local-ai - - https://quay.io/go-skynet/local-ai + - https://hub.docker.com/r/localai/localai maintainers: - name: TrueCharts email: info@truecharts.org diff --git a/charts/stable/local-ai/values.yaml b/charts/stable/local-ai/values.yaml index 81427a8c702..43513203ed7 100644 --- a/charts/stable/local-ai/values.yaml +++ b/charts/stable/local-ai/values.yaml @@ -1,27 +1,27 @@ image: - repository: quay.io/go-skynet/local-ai + repository: docker.io/localai/localai pullPolicy: IfNotPresent - tag: v2.3.1@sha256:8d4ae57f6c68c778480d0cb0a6596b1513b19a0444d30e4675745c2b403a35d6 + tag: v2.4.0@sha256:4fe0b85121eb167b25d38d6e222ed4d963acfa030a87c5b0c0a2a1891a887eb5 ffmpegImage: - repository: quay.io/go-skynet/local-ai + repository: docker.io/localai/localai pullPolicy: IfNotPresent - tag: v2.3.0-ffmpeg@sha256:534966e0ae9ee3d1f10dec712e4b96ecf6c38e7ca83665accc64dcedd435a889 + tag: v2.4.0-ffmpeg-core@sha256:2dfad6cb25eb1f08c3f5a57686255315128dacd25e1f4a0a6e933c62c6890bfc cublasCuda12Image: - repository: quay.io/go-skynet/local-ai + repository: docker.io/localai/localai pullPolicy: IfNotPresent - tag: v2.3.0-cublas-cuda12@sha256:967d4dac1e9fdddbcd4f502e4a288bf266388f48b0ac34ec27879479fdb52f8d + tag: v2.4.0-cublas-cuda12-core@sha256:af24dda78eea20cd537522ad63777a1552d15704ccf52f8496a9f96d72874963 cublasCuda12FfmpegImage: - repository: quay.io/go-skynet/local-ai + repository: docker.io/localai/localai pullPolicy: IfNotPresent - tag: v2.3.0-cublas-cuda12-ffmpeg@sha256:d03ef64d27fd02c2311bf80a3b200c9b4fac6c0148e816cb4b3de6369478c0b6 + tag: v2.4.0-cublas-cuda12-ffmpeg-core@sha256:df148ed60fe129e941edf00ecfd8a0cf65fdbd77bec4fef6fdea261dc99e99da cublasCuda11Image: - repository: quay.io/go-skynet/local-ai + repository: docker.io/localai/localai pullPolicy: IfNotPresent - tag: v2.3.0-cublas-cuda11@sha256:1451fa8be7b12bcd51da87e18cbfeda1536efcb5bfbdaf22da0f157a44054edb + tag: v2.4.0-cublas-cuda11-core@sha256:b1f32e0eed3b08c55eeffd3d4c3a93bdce6d3495a5722c195bfda791032e3b98 cublasCuda11FfmpegImage: - repository: quay.io/go-skynet/local-ai + repository: docker.io/localai/localai pullPolicy: IfNotPresent - tag: v2.3.0-cublas-cuda11-ffmpeg@sha256:c9460b646e38eea6789796a48eb2bb6fa1c808cd999ff7bc43e794865fdc7d35 + tag: v2.4.0-cublas-cuda11-ffmpeg-core@sha256:9bafad71b5ea87bd021c94967f3f4bae3b934ae57818fd362756642a00365b3f securityContext: container: runAsNonRoot: false