fix(letta_code): build from the published :latest image so builds stop failing on missing upstream tags (#3173)

* fix(letta_code): track the published :latest image instead of GitHub releases

Upstream tags GitHub releases whose container image is never pushed
(0.34.23, 0.34.24), so the updater bumped to versions that do not exist
on ghcr.io and every build failed at FROM with 'not found'. Use the
existing container source on ghcr.io/letta-ai/letta-code:latest, which
reads the version from the image label: only versions whose image is
actually published can be selected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(letta_code): build from the published :latest image

Pinning FROM to the updater's version still fails whenever the label
and tag disagree, and a digest-only move of :latest would bump the
add-on while rebuilding the old tag. Build FROM $BUILD_FROM (build.json
already points at :latest), as immich does with the container source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Update letta_code/Dockerfile

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-10-28 17:41:26 +01:00
1 parent 766faa1073
commit ec9119d599
4 files changed
+9 -9

No files matched your search

+4 -1
View File
@@ -1,4 +1,7 @@
## 0.34.26.1 (28-10-2026)
- Fix builds failing with `ghcr.io/letta-ai/letta-code:0.34.24: not found`: upstream regularly tags releases (0.34.22 to 0.34.24) whose image push fails, and the updater followed those releases. The image is now built from `ghcr.io/letta-ai/letta-code:latest` (as set in `build.json`), and the updater follows the version label of that published image instead of GitHub releases, so only versions that exist on the registry are picked up
## 0.34.26 (2026-10-28)
- Update to latest version from letta-ai/letta-code (changelog : https://github.com/letta-ai/letta-code/releases)
## 0.34.21.1 (24-10-2026)
+1 -2
View File
@@ -16,8 +16,7 @@
ARG BUILD_FROM
ARG BUILD_VERSION
ARG BUILD_UPSTREAM="0.34.26"
FROM ghcr.io/letta-ai/letta-code:${BUILD_UPSTREAM}
FROM ${BUILD_FROM}
##################
# 2 Modify Image #
+1 -1
View File
@@ -27,4 +27,4 @@ schema:
token: password?
slug: letta_code
url: https://github.com/alexbelgium/hassio-addons/tree/master/letta_code
version: "0.34.26"
version: "0.34.26.1"
+3 -5
View File
@@ -1,11 +1,9 @@
{
"github_beta": false,
"github_fulltag": false,
"github_havingasset": true,
"last_update": "2026-10-28",
"repository": "alexbelgium/hassio-addons",
"slug": "letta_code",
"source": "github",
"upstream_repo": "letta-ai/letta-code",
"source": "container",
"upstream_digest": "sha256:35574227b609b7d9e22c080ba5d4078e22f78681f574f1bd9f83bf5e027775ad",
"upstream_repo": "ghcr.io/letta-ai/letta-code:latest",
"upstream_version": "0.34.26"
}