diff --git a/AGENTS.md b/AGENTS.md index 2d463fd..b4917b7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,7 +15,15 @@ Docker image packaging [opencode](https://opencode.ai) into a production-ready d ## Versioning scheme -Tags follow `v{opencode_version}{letter}` — e.g. `v1.4.3k`. The number matches the opencode npm version. The letter suffix increments for container-level changes (tooling, docs, CVE fixes) on the same opencode version. CI produces four Docker Hub tags per release: `vX.Y.Zn`, `latest`, `vX.Y.Zn-omos`, `latest-omos`. +Tags follow `v{opencode_version}[letter]` — e.g. `v1.14.20` for the first build on a new opencode release, and `v1.14.20a`, `v1.14.20b`, … for subsequent rebuilds on the same opencode version. + +- The number tracks the opencode npm version (see `OPENCODE_VERSION` ARG in `Dockerfile`). +- **No letter suffix** on the first build of a new opencode version — the bare `v{opencode_version}` tag is the canonical release. +- **Letter suffix** (`a`, `b`, `c`, …) increments for container-level rebuilds — tooling changes, CVE fixes, doc-driven rebuilds, entrypoint bugfixes — that don't change the underlying opencode version. + +CI produces four Docker Hub tags per release: `vX.Y.Z[n]`, `latest`, `vX.Y.Z[n]-omos`, `latest-omos`. + +When bumping the opencode version, also bump `OPENCODE_VERSION` in `Dockerfile` and update the comment in `.env.example` if it names a specific model/version for context. ## Critical conventions diff --git a/Dockerfile b/Dockerfile index 7954552..e29df73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG DEBIAN_VERSION=trixie-slim FROM debian:${DEBIAN_VERSION} AS base ARG TARGETARCH -ARG OPENCODE_VERSION=1.14.19 +ARG OPENCODE_VERSION=1.14.20 LABEL maintainer="joakimp" LABEL description="Portable opencode developer container"